Pagini recente » Borderou de evaluare (job #1227122) | Cod sursa (job #2467155) | Borderou de evaluare (job #1837198) | Borderou de evaluare (job #1866996) | Borderou de evaluare (job #1492538)
Borderou de evaluare (job #1492538)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.in", "r", stdin);
^
user.cpp:30:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("asmax.out", "w", stdout);
^
user.cpp:31:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:32:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i<= n; ++i) scanf("%d", &bst[i]);
^
user.cpp:35:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &tmp1, &tmp2);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 20ms | 816kb | OK | 10 |
| 2 | 0ms | 456kb | OK | 10 |
| 3 | 0ms | 452kb | OK | 10 |
| 4 | 0ms | 456kb | OK | 10 |
| 5 | 0ms | 448kb | OK | 10 |
| 6 | 0ms | 452kb | OK | 10 |
| 7 | 8ms | 716kb | OK | 10 |
| 8 | 16ms | 812kb | OK | 10 |
| 9 | 16ms | 808kb | OK | 10 |
| 10 | 16ms | 816kb | OK | 10 |
| Punctaj total | 100 |