Pagini recente » Cod sursa (job #3215462) | Cod sursa (job #3178326) | Borderou de evaluare (job #1282007) | Cod sursa (job #1868888) | Borderou de evaluare (job #1640365)
Borderou de evaluare (job #1640365)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.in", "r", stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rmq.out", "w", stdout);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:20:49: 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",&rmq[0][i]);
^
user.cpp:30:28: 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 | 0ms | 296kb | OK | 10 | 10 |
2 | 0ms | 312kb | OK | 10 | 10 |
3 | 0ms | 580kb | OK | 10 | 10 |
4 | 80ms | 3400kb | OK | 10 | 10 |
5 | 92ms | 3400kb | OK | 10 | 20 |
6 | 568ms | 4076kb | OK | 10 |
7 | 592ms | 5456kb | OK | 10 | 10 |
8 | 696ms | 6828kb | OK | 10 | 10 |
9 | 768ms | 6832kb | OK | 10 | 10 |
10 | 864ms | 6824kb | OK | 10 | 10 |
Punctaj total | 100 |