Pagini recente » Borderou de evaluare (job #2297915) | Borderou de evaluare (job #1211000) | Borderou de evaluare (job #2338820) | Borderou de evaluare (job #597254) | Borderou de evaluare (job #1446345)
Borderou de evaluare (job #1446345)
Raport evaluator
Compilare:
user.cpp: In function ‘void umple()’:
user.cpp:38:13: warning: unused variable ‘i’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp:38:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:237:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.in","r",stdin);
^
user.cpp:238:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ai.out","w",stdout);
^
user.cpp:239:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:242:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&t.x,&t.y);
^
user.cpp:244:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&s1.y,&s1.x);
^
user.cpp:246:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&s2.y,&s2.x);
^
user.cpp:248:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&r1.y,&r1.x);
^
user.cpp:250:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&r2.y,&r2.x);
^
user.cpp:252:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:255:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ",&aux.y,&aux.x);
^
user.cpp: In function ‘void cozi()’:
user.cpp:158:27: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:158:21: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:223:14: warning: array subscript is above array bounds [-Warray-bounds]
if(m1[2]>dist[it->first][it->second]){
^
user.cpp:224:14: warning: array subscript is above array bounds [-Warray-bounds]
m2[2]=m1[2];
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 320kb | Primul numar corect | 1 |
2 | Depăşit | 580kb | Time limit exceeded. | 0 |
3 | 0ms | 520kb | Primul numar corect | 1 |
4 | 8ms | 1048kb | Primul numar corect | 1 |
5 | 8ms | 1256kb | OK | 5 |
6 | 24ms | 1812kb | Primul numar corect | 1 |
7 | 0ms | 756kb | OK | 5 |
8 | 0ms | 496kb | OK | 5 |
9 | 12ms | 1368kb | OK | 5 |
10 | 32ms | 2736kb | Primul numar corect | 1 |
11 | 44ms | 2736kb | Primul numar corect | 1 |
12 | 128ms | 3560kb | Primul numar corect | 1 |
13 | 128ms | 4160kb | OK | 5 |
14 | 152ms | 4648kb | OK | 5 |
15 | 112ms | 5192kb | Primul numar corect | 1 |
16 | 120ms | 5196kb | Primul numar corect | 1 |
17 | 92ms | 4164kb | Primul numar corect | 1 |
18 | 172ms | 5204kb | OK | 5 |
19 | 108ms | 3556kb | Primul numar corect | 1 |
20 | 140ms | 5196kb | Primul numar corect | 1 |
Punctaj total | 47 |