Pagini recente » Borderou de evaluare (job #260433) | Borderou de evaluare (job #2869372) | Borderou de evaluare (job #2604750) | Borderou de evaluare (job #2634648) | Borderou de evaluare (job #1942850)
Borderou de evaluare (job #1942850)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.in","r",stdin);
^
user.cpp:25:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("checkin.out","w",stdout);
^
user.cpp:29:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&N);
^
user.cpp:30:55: 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 %d",&A[i],&B[i]);
^
user.cpp:32:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&K,&P);
^
user.cpp:27:21: warning: ‘res’ may be used uninitialized in this function [-Wmaybe-uninitialized]
int i,st,dr,mid,res,ticket=oo;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 276kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |