Pagini recente » Borderou de evaluare (job #537361) | Borderou de evaluare (job #2384715) | Borderou de evaluare (job #2768287) | Borderou de evaluare (job #1324688) | Borderou de evaluare (job #2384762)
Borderou de evaluare (job #2384762)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:17:29: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d%d\n", &cer, &n);
^
main.cpp:28:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[15]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:11:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("zimeria.in", "r",stdin);
^
main.cpp:12:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out", "w",stdout);
^
main.cpp:17:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &cer, &n);
^
main.cpp:19:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
main.cpp:28: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 |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 3ms | 131kb | OK | 5 |
| 3 | 33ms | 262kb | OK | 5 |
| 4 | 68ms | 524kb | OK | 5 |
| 5 | 128ms | 917kb | OK | 5 |
| 6 | 244ms | 1703kb | OK | 5 |
| 7 | 2ms | 131kb | OK | 5 |
| 8 | 4ms | 131kb | OK | 5 |
| 9 | 6ms | 131kb | OK | 5 |
| 10 | 12ms | 131kb | OK | 5 |
| 11 | 22ms | 262kb | OK | 5 |
| 12 | 41ms | 262kb | OK | 5 |
| 13 | 85ms | 524kb | OK | 5 |
| 14 | 162ms | 917kb | OK | 5 |
| 15 | 189ms | 1179kb | OK | 5 |
| 16 | 258ms | 1572kb | OK | 5 |
| 17 | 303ms | 1966kb | Time limit exceeded | 0 |
| 18 | 300ms | 2097kb | Time limit exceeded | 0 |
| 19 | 300ms | 1966kb | Time limit exceeded | 0 |
| 20 | 303ms | 1966kb | Time limit exceeded | 0 |
| Punctaj total | 80 |