Pagini recente » Borderou de evaluare (job #2975133) | Borderou de evaluare (job #739559) | Borderou de evaluare (job #810704) | Borderou de evaluare (job #2163956) | Borderou de evaluare (job #2392292)
Borderou de evaluare (job #2392292)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10001]' [-Wformat=]
scanf ("%s", &s);
^
main.cpp:28:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < strlen (s); i++)
~~^~~~~~~~~~~~
main.cpp:20: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:21: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:22:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &t);
^
main.cpp:27: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 | 102ms | 262kb | OK | 10 |
6 | 80ms | 262kb | OK | 10 |
7 | 354ms | 393kb | OK | 10 |
8 | 1009ms | 262kb | OK | 10 |
9 | 1321ms | 524kb | OK | 10 |
10 | 889ms | 393kb | OK | 10 |
Punctaj total | 100 |