Pagini recente » Borderou de evaluare (job #1498374) | Borderou de evaluare (job #657512) | Borderou de evaluare (job #2181674) | Borderou de evaluare (job #178080) | Borderou de evaluare (job #1512466)
Borderou de evaluare (job #1512466)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Ok(int)’:
user.cpp:15:20: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,best = oo,k,p,x;
^
user.cpp:15:22: warning: unused variable ‘p’ [-Wunused-variable]
int i,j,best = oo,k,p,x;
^
user.cpp: In function ‘int main()’:
user.cpp:62:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stalpi2.in","r",stdin);
^
user.cpp:63:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("stalpi2.out","w",stdout);
^
user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&N,&emax);
^
user.cpp:67:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2584kb | OK | 10 |
2 | 4ms | 2592kb | OK | 10 |
3 | 4ms | 2588kb | OK | 10 |
4 | 4ms | 2588kb | OK | 10 |
5 | 4ms | 2592kb | OK | 10 |
6 | 8ms | 2592kb | OK | 10 |
7 | 8ms | 2588kb | OK | 10 |
8 | 20ms | 2600kb | OK | 10 |
9 | 56ms | 2612kb | OK | 10 |
10 | 72ms | 2608kb | OK | 10 |
Punctaj total | 100 |