Pagini recente » Borderou de evaluare (job #1524709) | Borderou de evaluare (job #3188830) | Borderou de evaluare (job #2253509) | Cod sursa (job #97347) | Borderou de evaluare (job #2688392)
Borderou de evaluare (job #2688392)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:100:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prieteni2.in", "r", stdin);
^
main.cpp:101:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prieteni2.out", "w", stdout);
^
main.cpp:105:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
main.cpp:110:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d", &q); q; --q) {
^
main.cpp:111:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &type);
^
main.cpp:114:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &i); --i;
^
main.cpp:117:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &i); --i;
^
main.cpp:120:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b); --a; --b;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 7ms | 262kb | OK | 10 | 40 |
| 2 | 8ms | 262kb | OK | 10 |
| 3 | 8ms | 262kb | OK | 10 |
| 4 | 8ms | 262kb | OK | 10 |
| 5 | 74ms | 1835kb | OK | 10 | 30 |
| 6 | 58ms | 1835kb | OK | 10 |
| 7 | 76ms | 1835kb | OK | 10 |
| 8 | 501ms | 11665kb | Time limit exceeded | 0 | 0 |
| 9 | 503ms | 11534kb | Time limit exceeded | 0 |
| 10 | 501ms | 11534kb | Time limit exceeded | 0 |
| Punctaj total | 70 |