Pagini recente » Cod sursa (job #3268735) | Cod sursa (job #377293) | Cod sursa (job #41381) | splunge1 | Borderou de evaluare (job #1726654)
Borderou de evaluare (job #1726654)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y, d, k;
^
user.cpp:19:30: warning: unused variable ‘k’ [-Wunused-variable]
int n, m, i, j, x, y, d, k;
^
user.cpp:16:32: 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:34: 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:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n, &m);
^
user.cpp:22:53: 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",&rmq[i][0]);
^
user.cpp:28: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 | 460kb | OK | 10 | 10 |
2 | 0ms | 464kb | OK | 10 | 10 |
3 | 0ms | 820kb | OK | 10 | 10 |
4 | 96ms | 3972kb | OK | 10 | 10 |
5 | 112ms | 3968kb | OK | 10 | 20 |
6 | 608ms | 4680kb | OK | 10 |
7 | 636ms | 6084kb | OK | 10 | 10 |
8 | 764ms | 7476kb | OK | 10 | 10 |
9 | 840ms | 7480kb | OK | 10 | 10 |
10 | 940ms | 7484kb | OK | 10 | 10 |
Punctaj total | 100 |