Pagini recente » Cod sursa (job #1116905) | Cod sursa (job #815707) | Borderou de evaluare (job #201994) | Borderou de evaluare (job #356688) | Borderou de evaluare (job #1462221)
Borderou de evaluare (job #1462221)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("raliu.in","r",stdin);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:59: 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",&x),s[i] = x;
^
user.cpp:16:60: 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",&x),s[i] -= x;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 468kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 4ms | 496kb | OK | 10 |
4 | 132ms | 1404kb | OK | 10 |
5 | 232ms | 2028kb | OK | 10 |
6 | 356ms | 2804kb | OK | 10 |
7 | 1644ms | 9836kb | OK | 10 |
8 | 2372ms | 14528kb | OK | 10 |
9 | 2360ms | 14528kb | OK | 10 |
10 | 2764ms | 16084kb | OK | 10 |
Punctaj total | 100 |