UOJ Logo

NOI.AC

代码颜色测试

2018-06-23 14:27:28 By std
#include <string>
void This_is_normal() {
    int normal_color_var;
}

////<r
using namespace std;
int BLUE() {
    int this_is_blue;
    string blue_var = "this is red.";
    string s = "= is red too.";
    char c = 'c';
    Pair.first;
    //note is not grey
    if (s < "use < is ok") {
        s = "but use greater is not ok (shown below)"
    }
}
//>

////<r
int strange_BLUE() {
    s = "use < is ok";
    assert("but use greater is not ok" > s && and_rest_words_in_this_line_is_grey);
    int and_it; //becomes_normal
}
//>

void normal_again() {
    int a;
}

////<
not blue;
>

//<r
not blue;
>

////<d
I think HTML is the reason
>
//same in java
////<b
//ok
////>
#but this feature
a=input()
#////<b
#is not in python
////<b
b=input()+" is normal"
////>
#python's note is # not //
begin
//or in pascal
////<
read(a);
////>
{pascal's note} is {{}}

评论

happyZYM_AC
前排资瓷!
cqbz_C20200521WYW
@cqbz_xyx
cqbz_C20200521WYW
@cqbz_xyx
WalkerV
@mike
LightCompany1
@mike
ming2018
@iofj
ming2018
@

发表评论

可以用@mike来提到mike这个用户,mike会被高亮显示。如果你真的想打“@”这个字符,请用“@@”。