Pagini recente » Cod sursa (job #2478756) | Cod sursa (job #141204) | Cod sursa (job #1992205) | Cod sursa (job #586803) | Borderou de evaluare (job #1774920)
Borderou de evaluare (job #1774920)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.in", "r", stdin);
^
user.cpp:57:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arb.out", "w", stdout);
^
user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:61:45: 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", &val[i]);
^
user.cpp:64:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:72:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:76:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | 9244kb | OK | 10 | 10 |
2 | 16ms | 9324kb | OK | 10 | 10 |
3 | 36ms | 10020kb | OK | 10 | 10 |
4 | 372ms | 13188kb | OK | 10 | 10 |
5 | 372ms | 15508kb | OK | 10 | 10 |
6 | 676ms | 16288kb | OK | 10 | 0 |
7 | Depăşit | 23772kb | Time limit exceeded. | 0 |
8 | Depăşit | 23592kb | Time limit exceeded. | 0 |
9 | Depăşit | 21060kb | Time limit exceeded. | 0 |
10 | Depăşit | 27040kb | Time limit exceeded. | 0 |
Punctaj total | 50 |