Pagini recente » Borderou de evaluare (job #1647797) | Borderou de evaluare (job #1774596) | Borderou de evaluare (job #2111710) | Borderou de evaluare (job #2175751) | Borderou de evaluare (job #1881764)
Borderou de evaluare (job #1881764)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.in","r",stdin);
^
user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma4.out","w",stdout);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:44:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &cost[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 464kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 492kb | OK | 10 |
4 | 0ms | 556kb | OK | 10 |
5 | 8ms | 892kb | OK | 10 |
6 | 8ms | 984kb | OK | 10 |
7 | 12ms | 1072kb | OK | 10 |
8 | 12ms | 1152kb | OK | 10 |
9 | 12ms | 1184kb | OK | 10 |
10 | 0ms | 448kb | OK | 10 |
Punctaj total | 100 |