Pagini recente » Borderou de evaluare (job #2167351) | Borderou de evaluare (job #1158291) | Borderou de evaluare (job #2780351) | Borderou de evaluare (job #2302541) | Borderou de evaluare (job #1970545)
Borderou de evaluare (job #1970545)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
scanf("%hd%hd%hd%d",&q,&n,&m,&t);
^
user.cpp:8:35: warning: unused variable ‘k’ [-Wunused-variable]
short int q,lin,col,lat,x,pas,k,i,j,t;
^
user.cpp:9:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roboti2.in","r",stdin);
^
user.cpp:10:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("roboti2.out","w",stdout);
^
user.cpp:11:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd%d",&q,&n,&m,&t);
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd",&lin,&col);
^
user.cpp:17:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&lat);
^
user.cpp:39:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&q);
^
user.cpp:42:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 272kb | OK | 5 |
4 | 0ms | 284kb | OK | 5 |
5 | 0ms | 296kb | OK | 5 |
6 | 0ms | 304kb | OK | 5 |
7 | 0ms | 300kb | OK | 5 |
8 | 0ms | 316kb | OK | 5 |
9 | 0ms | 316kb | OK | 5 |
10 | 0ms | 312kb | OK | 5 |
11 | 0ms | 280kb | OK | 5 |
12 | 0ms | 292kb | OK | 5 |
13 | 0ms | 288kb | OK | 5 |
14 | 8ms | 300kb | OK | 5 |
15 | 32ms | 308kb | OK | 5 |
16 | 48ms | 304kb | OK | 5 |
17 | 60ms | 308kb | OK | 5 |
18 | 100ms | 316kb | OK | 5 |
19 | Depăşit | 316kb | Time limit exceeded. | 0 |
20 | Depăşit | 320kb | Time limit exceeded. | 0 |
Punctaj total | 90 |