Pagini recente » Cod sursa (job #1486540) | Borderou de evaluare (job #2751213) | Borderou de evaluare (job #2571562) | Borderou de evaluare (job #2512280) | Borderou de evaluare (job #1312035)
Borderou de evaluare (job #1312035)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.in", "r", stdin);
^
user.cpp:9:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta.out", "w", stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &n, &m);
^
user.cpp:13:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &T[i], &nr_med);
^
user.cpp:16:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &x);
^
user.cpp:20:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=0; i<n; i++) scanf("%ld", &C[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 280kb | OK | 10 |
| 2 | 0ms | 276kb | OK | 10 |
| 3 | 0ms | 276kb | OK | 10 |
| 4 | 0ms | 280kb | OK | 10 |
| 5 | 0ms | 276kb | OK | 10 |
| 6 | 0ms | 276kb | OK | 10 |
| 7 | 0ms | 280kb | OK | 10 |
| 8 | 0ms | 276kb | OK | 10 |
| 9 | 0ms | 276kb | OK | 10 |
| 10 | 0ms | 276kb | OK | 10 |
| Punctaj total | 100 |