Pagini recente » Borderou de evaluare (job #176449) | Borderou de evaluare (job #845722) | Borderou de evaluare (job #248638) | Borderou de evaluare (job #1725877) | Borderou de evaluare (job #2316764)
Borderou de evaluare (job #2316764)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:69:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:76:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[305]' [-Wformat=]
scanf("%s", &s);
^
main.cpp:64:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("sub.in", "r",stdin);
^
main.cpp:65:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w",stdout);
^
main.cpp:67:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &na);
^
main.cpp:69:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &s);
^
main.cpp:74:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &nb);
^
main.cpp:76: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 | 262kb | OK | 10 |
| 2 | 4ms | 1048kb | OK | 10 |
| 3 | 13ms | 4849kb | OK | 10 |
| 4 | 72ms | 29884kb | OK | 10 |
| 5 | 200ms | 111149kb | Time limit exceeded | 0 |
| 6 | 200ms | 100270kb | Time limit exceeded | 0 |
| 7 | 203ms | 96468kb | Time limit exceeded | 0 |
| 8 | 201ms | 95027kb | Time limit exceeded | 0 |
| 9 | 202ms | 93978kb | Time limit exceeded | 0 |
| 10 | 203ms | 94896kb | Time limit exceeded | 0 |
| Punctaj total | 40 |