Pagini recente » Borderou de evaluare (job #1986198) | Borderou de evaluare (job #2809543) | Borderou de evaluare (job #1877742) | Borderou de evaluare (job #1910406) | Borderou de evaluare (job #1752852)
Borderou de evaluare (job #1752852)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y, q, a, b, maxi;
^
user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.in","r",stdin);
^
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("concurs.out","w",stdout);
^
user.cpp:26: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:27:57: 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",&punctaje[ i ]);
^
user.cpp:29:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:42: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 |
1 | 0ms | 672kb | OK | 10 |
2 | 0ms | 680kb | OK | 10 |
3 | 0ms | 768kb | OK | 10 |
4 | 4ms | 1108kb | OK | 10 |
5 | 4ms | 1108kb | OK | 10 |
6 | 20ms | 2208kb | OK | 10 |
7 | 280ms | 7140kb | OK | 10 |
8 | 28ms | 3856kb | OK | 10 |
9 | 220ms | 5548kb | OK | 10 |
10 | 312ms | 5712kb | OK | 10 |
Punctaj total | 100 |