Pagini recente » Cod sursa (job #3232727) | Cod sursa (job #414177) | Cod sursa (job #909572) | Borderou de evaluare (job #2169076) | Borderou de evaluare (job #2079230)
Borderou de evaluare (job #2079230)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:73:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&a[i][j]);
^
user.cpp:14: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:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rover.in","r",stdin);
^
user.cpp:17:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rover.out","w",stdout);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p);
^
user.cpp:21:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&G);
^
user.cpp:24:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
user.cpp:69:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:73:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 0ms | 268kb | OK | 5 |
3 | 0ms | 284kb | OK | 5 |
4 | 4ms | 664kb | OK | 5 |
5 | 12ms | 1244kb | OK | 5 |
6 | 36ms | 2480kb | OK | 5 |
7 | 84ms | 5464kb | OK | 5 |
8 | Depăşit | 32100kb | Time limit exceeded. | 0 |
9 | Depăşit | 30716kb | Time limit exceeded. | 0 |
10 | Depăşit | 31300kb | Time limit exceeded. | 0 |
11 | Depăşit | 31064kb | Time limit exceeded. | 0 |
12 | 0ms | 292kb | OK | 5 |
13 | 0ms | 412kb | OK | 5 |
14 | 8ms | 632kb | OK | 5 |
15 | 16ms | 816kb | OK | 5 |
16 | 40ms | 1144kb | OK | 5 |
17 | 60ms | 1388kb | OK | 5 |
18 | 52ms | 1400kb | OK | 5 |
19 | 68ms | 1712kb | OK | 5 |
20 | 56ms | 1360kb | OK | 5 |
Punctaj total | 80 |