Pagini recente » Borderou de evaluare (job #791206) | Borderou de evaluare (job #3234904) | Borderou de evaluare (job #2686655) | Borderou de evaluare (job #429857) | Borderou de evaluare (job #1970522)
Borderou de evaluare (job #1970522)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘unsigned char*’ [-Wformat=]
scanf("%d%d%d%d",&q,&n,&m,&t);
^
user.cpp:30:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘unsigned char*’ [-Wformat=]
user.cpp:27:35: warning: unused variable ‘k’ [-Wunused-variable]
int q,t,i,lin,col,lat,x,j,pas,k;
^
user.cpp:28: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:29: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:30:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&q,&n,&m,&t);
^
user.cpp:32:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&lin,&col);
^
user.cpp:36:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&lat);
^
user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&q);
^
user.cpp:44:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 280kb | Incorect | 0 |
6 | 0ms | 292kb | Incorect | 0 |
7 | 0ms | 292kb | Incorect | 0 |
8 | 0ms | 296kb | Incorect | 0 |
9 | 0ms | 296kb | Incorect | 0 |
10 | 0ms | 292kb | Incorect | 0 |
11 | 0ms | 272kb | Incorect | 0 |
12 | 0ms | 276kb | Incorect | 0 |
13 | 0ms | 280kb | Incorect | 0 |
14 | 0ms | 280kb | Incorect | 0 |
15 | 0ms | 280kb | Incorect | 0 |
16 | 0ms | 284kb | Incorect | 0 |
17 | 0ms | 292kb | Incorect | 0 |
18 | 0ms | 288kb | Incorect | 0 |
19 | 0ms | 296kb | Incorect | 0 |
20 | 0ms | 296kb | Incorect | 0 |
Punctaj total | 0 |