Pagini recente » Borderou de evaluare (job #1893413) | Cod sursa (job #2411297) | Borderou de evaluare (job #1114982) | Borderou de evaluare (job #1033585) | Borderou de evaluare (job #2088132)
Borderou de evaluare (job #2088132)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&a[i][j]);
^
user.cpp:51:41: warning: narrowing conversion of ‘xx’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
q.push_back({xx,yy});
^
user.cpp:51:41: warning: narrowing conversion of ‘yy’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:56:42: warning: narrowing conversion of ‘xx’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
q.push_front({xx,yy});
^
user.cpp:56:42: warning: narrowing conversion of ‘yy’ from ‘int’ to ‘short int’ inside { } [-Wnarrowing]
user.cpp:76:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(f,"%d",&a[i][j]);
^
user.cpp:23:31: warning: unused variable ‘aux’ [-Wunused-variable]
int p,n,G,i,j,x,y,xx,yy,k,aux,ma=-1,ss=0,st,dr,mij;
^
user.cpp:27:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&p);
^
user.cpp:30:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&G);
^
user.cpp:33:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i][j]);
^
user.cpp:72:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:76:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 5 |
2 | 0ms | 288kb | OK | 5 |
3 | 0ms | 296kb | OK | 5 |
4 | 0ms | 460kb | OK | 5 |
5 | 4ms | 544kb | OK | 5 |
6 | 8ms | 656kb | OK | 5 |
7 | 16ms | 792kb | OK | 5 |
8 | 52ms | 1356kb | OK | 5 |
9 | 60ms | 1252kb | OK | 5 |
10 | 72ms | 1300kb | OK | 5 |
11 | 72ms | 1356kb | OK | 5 |
12 | 0ms | 308kb | OK | 5 |
13 | 0ms | 420kb | OK | 5 |
14 | 8ms | 644kb | OK | 5 |
15 | 20ms | 824kb | OK | 5 |
16 | 44ms | 1156kb | OK | 5 |
17 | 60ms | 1408kb | OK | 5 |
18 | 60ms | 1408kb | OK | 5 |
19 | 68ms | 1736kb | OK | 5 |
20 | 56ms | 1372kb | OK | 5 |
Punctaj total | 100 |