Pagini recente » Borderou de evaluare (job #2268081) | Borderou de evaluare (job #2536317) | Borderou de evaluare (job #1051356) | Cod sursa (job #2321355) | Borderou de evaluare (job #2302951)
Borderou de evaluare (job #2302951)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:10:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("densitate.in", "r", stdin);
^
main.cpp:11:42: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("densitate.out", "w", stdout);
^
main.cpp:13:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:14:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:23:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &a, &b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 10ms | 131kb | OK | 10 |
| 3 | 4ms | 262kb | OK | 10 |
| 4 | 4ms | 262kb | OK | 10 |
| 5 | 44ms | 393kb | OK | 10 |
| 6 | 91ms | 1310kb | OK | 10 |
| 7 | 106ms | 1703kb | OK | 10 |
| 8 | 111ms | 4194kb | OK | 10 |
| 9 | 122ms | 4456kb | OK | 10 |
| 10 | 141ms | 4718kb | OK | 10 |
| Punctaj total | 100 |