Pagini recente » Borderou de evaluare (job #2845145) | Borderou de evaluare (job #1864751) | Borderou de evaluare (job #3001040) | Borderou de evaluare (job #535869) | Borderou de evaluare (job #1313959)
Borderou de evaluare (job #1313959)
Raport evaluator
Compilare:
user.cpp: In function ‘void Read()’:
user.cpp:20: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:27:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:30: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:76: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:78:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
user.cpp:83:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
/tmp/ccDL7ZKl.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 | 88ms | 18488kb | Incorect | 0 |
3 | 92ms | 18492kb | Incorect | 0 |
4 | 100ms | 18492kb | Incorect | 0 |
5 | 112ms | 18508kb | Incorect | 0 |
6 | 136ms | 18532kb | Incorect | 0 |
7 | 176ms | 18640kb | Incorect | 0 |
8 | 356ms | 19564kb | Incorect | 0 |
9 | Depăşit | 20828kb | Time limit exceeded. | 0 |
10 | 980ms | 23912kb | Incorect | 0 |
Punctaj total | 10 |