Pagini recente » Borderou de evaluare (job #2095849) | Borderou de evaluare (job #2607753) | Borderou de evaluare (job #2649325) | Borderou de evaluare (job #1872930) | Borderou de evaluare (job #1502997)
Borderou de evaluare (job #1502997)
Raport evaluator
Compilare:
user.cpp: In function ‘bool ok(int)’:
user.cpp:7:9: warning: unused variable ‘i’ [-Wunused-variable]
int i=0,t=1,vol;
^
user.cpp: In function ‘int main()’:
user.cpp:29:12: warning: statement has no effect [-Wunused-value]
for(pas; pas>0; pas=pas>>1)
^
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:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k);
^
user.cpp:27:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i=0; i<n; i++) scanf("%d",&v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 10 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 256kb | Incorect | 0 |
4 | 0ms | 264kb | Incorect | 0 |
5 | 0ms | 284kb | Incorect | 0 |
6 | 4ms | 300kb | Incorect | 0 |
7 | 4ms | 308kb | Incorect | 0 |
8 | 4ms | 312kb | Incorect | 0 |
9 | 4ms | 316kb | Incorect | 0 |
10 | 4ms | 312kb | Incorect | 0 |
Punctaj total | 20 |