Pagini recente » Borderou de evaluare (job #2117288) | Borderou de evaluare (job #19837) | Borderou de evaluare (job #2306490) | Borderou de evaluare (job #2742987) | Borderou de evaluare (job #1740329)
Borderou de evaluare (job #1740329)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:56: warning: format ‘%c’ expects argument of type ‘char*’, but argument 7 has type ‘int*’ [-Wformat=]
fscanf(fi,"%d %d %d %d %c " ,&l1,&c1,&l2,&c2,&tip);
^
user.cpp:53:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%d %d " ,&Q[i].l,&Q[i].c);
^
user.cpp:53:42: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:32:16: warning: unused variable ‘j’ [-Wunused-variable]
int n,m,u,i,j,con,l1,l2,c1,c2,tip,lin,iu,iq,floare,sum,val,q;
^
user.cpp:35:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d %d " ,&n,&m,&u);
^
user.cpp:38:57: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d %d %d %c " ,&l1,&c1,&l2,&c2,&tip);
^
user.cpp:51:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&q);
^
user.cpp:53:43: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d %d " ,&Q[i].l,&Q[i].c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 52ms | 420kb | OK | 5 |
2 | 40ms | 420kb | OK | 5 |
3 | 60ms | 1160kb | OK | 5 |
4 | 68ms | 1196kb | OK | 5 |
5 | 52ms | 1044kb | OK | 5 |
6 | 68ms | 1208kb | OK | 5 |
7 | 68ms | 1188kb | OK | 5 |
8 | 64ms | 1216kb | OK | 5 |
9 | 100ms | 1300kb | OK | 5 |
10 | 80ms | 1028kb | OK | 5 |
11 | 124ms | 1180kb | OK | 5 |
12 | 176ms | 2092kb | OK | 5 |
13 | 132ms | 1592kb | OK | 5 |
14 | 160ms | 1720kb | OK | 5 |
15 | 296ms | 2496kb | OK | 5 |
16 | 328ms | 2484kb | OK | 5 |
17 | 244ms | 2284kb | OK | 5 |
18 | 272ms | 2520kb | OK | 5 |
19 | 308ms | 2800kb | OK | 5 |
20 | 324ms | 2776kb | OK | 5 |
Punctaj total | 100 |