Pagini recente » Cod sursa (job #1345751) | Borderou de evaluare (job #2775088) | Cod sursa (job #2007294) | Cod sursa (job #2007299) | Borderou de evaluare (job #2310804)
Borderou de evaluare (job #2310804)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:40:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in", "r", stdin);
^
main.cpp:41:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out", "w", stdout);
^
main.cpp:44:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &q);
^
main.cpp:45:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
main.cpp:48:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
main.cpp:49:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", t);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 494ms | 393kb | OK | 10 |
| 2 | 12ms | 131kb | OK | 10 |
| 3 | 499ms | 262kb | OK | 10 |
| 4 | 474ms | 262kb | OK | 10 |
| 5 | 552ms | 262kb | Time limit exceeded | 0 |
| 6 | 232ms | 131kb | OK | 10 |
| 7 | 551ms | 262kb | Time limit exceeded | 0 |
| 8 | 551ms | 262kb | Time limit exceeded | 0 |
| 9 | 324ms | 131kb | OK | 10 |
| 10 | 52ms | 131kb | OK | 10 |
| Punctaj total | 70 |