Pagini recente » Borderou de evaluare (job #2890616) | Borderou de evaluare (job #1971174) | Borderou de evaluare (job #2907102) | Borderou de evaluare (job #2832950) | Borderou de evaluare (job #1313961)
Borderou de evaluare (job #1313961)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:21:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for( i = 0 ; i < strlen(s) ; ++i )
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:18:38: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);getchar();gets(s);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:31:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp: In function ‘void Solve_it()’:
user.cpp:77:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &k); k > 0 ; --k)
^
user.cpp:79:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:84:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
/tmp/ccjoTi62.o: In function `Read()':
user.cpp:(.text+0x226): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 92ms | 18492kb | OK | 10 |
2 | 92ms | 18492kb | Incorect | 0 |
3 | 92ms | 18496kb | Incorect | 0 |
4 | 100ms | 18492kb | Incorect | 0 |
5 | 120ms | 18504kb | Incorect | 0 |
6 | 132ms | 18532kb | Incorect | 0 |
7 | 176ms | 18640kb | Incorect | 0 |
8 | 368ms | 19556kb | Incorect | 0 |
9 | Depăşit | 20828kb | Time limit exceeded. | 0 |
10 | 980ms | 23908kb | Incorect | 0 |
Punctaj total | 10 |