Pagini recente » Borderou de evaluare (job #1353752) | Borderou de evaluare (job #2385713) | Borderou de evaluare (job #2450867) | Borderou de evaluare (job #1160007) | Borderou de evaluare (job #1586722)
Borderou de evaluare (job #1586722)
Raport evaluator
Compilare:
user.cpp: In function ‘bool EsteLitera(char)’:
user.cpp:11:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (c >= 'a' && c <= 'z' || c >= 'A' && c <= 'Z')
^
user.cpp: In function ‘int main()’:
user.cpp:21:23: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10000000]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:25:33: warning: NULL used in arithmetic [-Wpointer-arith]
for (int i = 0; s[i] != NULL; i++)
^
user.cpp:33:27: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[10000000]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &s);
^
user.cpp:33:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Ok! | 10 |
2 | 0ms | 424kb | Ok! | 10 |
3 | 0ms | 428kb | Ok! | 10 |
4 | 0ms | 424kb | Ok! | 10 |
5 | 0ms | 424kb | Ok! | 10 |
6 | 0ms | 428kb | Ok! | 10 |
7 | 0ms | 428kb | Ok! | 10 |
8 | 0ms | 428kb | Ok! | 10 |
9 | 0ms | 440kb | Ok! | 10 |
10 | 4ms | 424kb | Ok! | 10 |
Punctaj total | 100 |