Pagini recente » Borderou de evaluare (job #2579477) | Borderou de evaluare (job #2938157) | Borderou de evaluare (job #1890669) | Borderou de evaluare (job #196887) | Borderou de evaluare (job #1775632)
Borderou de evaluare (job #1775632)
Raport evaluator
Compilare:
user.cpp: In function ‘int Pairup(int)’:
user.cpp:20:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:49:49: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while (S[pos] > '9' || S[pos] < '0' && pos <= l)
^
user.cpp:32:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.in", "r", stdin);
^
user.cpp:33:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:37:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:77:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.out", "w", stdout);
^
/tmp/ccNbbjtn.o: In function `read()':
user.cpp:(.text+0x297): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 688kb | Incorect! | 0 |
2 | 0ms | 700kb | Incorect! | 0 |
3 | 0ms | 704kb | Incorect! | 0 |
4 | 0ms | 716kb | Incorect! | 0 |
5 | 0ms | 752kb | Incorect! | 0 |
6 | 0ms | 740kb | Incorect! | 0 |
7 | 0ms | 768kb | Incorect! | 0 |
8 | 0ms | 760kb | Incorect! | 0 |
9 | 0ms | 692kb | Incorect! | 0 |
10 | 0ms | 716kb | S-a respectat legea! | 10 |
Punctaj total | 10 |