Pagini recente » Borderou de evaluare (job #1957766) | Borderou de evaluare (job #122608) | Borderou de evaluare (job #2175785) | Borderou de evaluare (job #418229) | Borderou de evaluare (job #2463664)
Borderou de evaluare (job #2463664)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[1005]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:12:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strdup.in", "r", stdin);
^
main.cpp:13:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strdup.out", "w", stdout);
^
main.cpp:15:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:17:24: 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 |
Punctaj/grupa |
1 | 3ms | 262kb | OK | 14 | 0 |
2 | 98ms | 1552kb | Memory limit exceeded | 0 |
3 | 40ms | 1552kb | Memory limit exceeded | 0 |
4 | 76ms | 1552kb | Memory limit exceeded | 0 |
5 | 117ms | 1548kb | Memory limit exceeded | 0 |
6 | 138ms | 1540kb | Memory limit exceeded | 0 |
7 | 133ms | 1548kb | Memory limit exceeded | 0 |
Punctaj total | 0 |