Pagini recente » Cod sursa (job #681801) | Cod sursa (job #15083) | centrale | Cod sursa (job #116363) | Borderou de evaluare (job #2321122)
Borderou de evaluare (job #2321122)
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 | 131kb | OK | 10 |
| 2 | 3ms | 655kb | OK | 10 |
| 3 | 9ms | 2490kb | OK | 10 |
| 4 | 44ms | 15073kb | OK | 10 |
| 5 | 188ms | 72613kb | OK | 10 |
| 6 | 200ms | 81788kb | Time limit exceeded | 0 |
| 7 | 201ms | 76283kb | Time limit exceeded | 0 |
| 8 | 200ms | 75890kb | Time limit exceeded | 0 |
| 9 | 202ms | 89128kb | Time limit exceeded | 0 |
| 10 | 200ms | 76677kb | Time limit exceeded | 0 |
| Punctaj total | 50 |