Pagini recente » Borderou de evaluare (job #2284554) | Borderou de evaluare (job #2640889) | Borderou de evaluare (job #201836) | Borderou de evaluare (job #1223973) | Borderou de evaluare (job #1735299)
Borderou de evaluare (job #1735299)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int)’:
user.cpp:9:9: warning: unused variable ‘s’ [-Wunused-variable]
int s=0,i=0,sum=0;
^
user.cpp:10:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok=1;
^
user.cpp: In function ‘int main()’:
user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.in","r",stdin);
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("transport.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,&k);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 296kb | Incorect | 0 |
6 | 0ms | 304kb | Incorect | 0 |
7 | 0ms | 320kb | Incorect | 0 |
8 | 4ms | 320kb | Incorect | 0 |
9 | 4ms | 328kb | Incorect | 0 |
10 | 4ms | 324kb | Incorect | 0 |
Punctaj total | 0 |