Pagini recente » Borderou de evaluare (job #596284) | Borderou de evaluare (job #1902577) | Borderou de evaluare (job #1543825) | Borderou de evaluare (job #2916450) | Borderou de evaluare (job #2308079)
Borderou de evaluare (job #2308079)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10001]' [-Wformat=]
scanf ("%s", &s);
^
main.cpp:42:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < strlen (s); i++)
~~^~~~~~~~~~~~
main.cpp:29:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("cifru5.in", "r", stdin);
^
main.cpp:30:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("cifru5.out", "w", stdout);
^
main.cpp:32:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
main.cpp:40:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 262kb | OK | 10 |
2 | 3ms | 262kb | OK | 10 |
3 | 3ms | 262kb | OK | 10 |
4 | 12ms | 262kb | OK | 10 |
5 | 101ms | 262kb | OK | 10 |
6 | 80ms | 262kb | OK | 10 |
7 | 347ms | 393kb | OK | 10 |
8 | 1003ms | 262kb | OK | 10 |
9 | 1287ms | 393kb | OK | 10 |
10 | 897ms | 393kb | OK | 10 |
Punctaj total | 100 |