Pagini recente » Borderou de evaluare (job #1797688) | Borderou de evaluare (job #372827) | Borderou de evaluare (job #2968871) | Borderou de evaluare (job #395657) | Borderou de evaluare (job #1445933)
Borderou de evaluare (job #1445933)
Raport evaluator
Compilare:
user.cpp: In function ‘void umple()’:
user.cpp:35:13: warning: unused variable ‘i’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp:35:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:210: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:211: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:212:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:218: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:220: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:222: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:224: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:226: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:228:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:231: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:131:27: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:131:21: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:196:14: warning: array subscript is above array bounds [-Warray-bounds]
if(m1[2]>dist[it->first][it->second]){
^
user.cpp:197:14: warning: array subscript is above array bounds [-Warray-bounds]
m2[2]=m1[2];
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | Primul numar corect | 1 |
2 | 0ms | 364kb | Primul numar corect | 1 |
3 | 0ms | 512kb | Primul numar corect | 1 |
4 | 4ms | 1040kb | Primul numar corect | 1 |
5 | 8ms | 1248kb | OK | 5 |
6 | 24ms | 1800kb | Primul numar corect | 1 |
7 | 0ms | 748kb | OK | 5 |
8 | 0ms | 480kb | OK | 5 |
9 | 12ms | 1364kb | OK | 5 |
10 | 32ms | 2728kb | Primul numar corect | 1 |
11 | 44ms | 2728kb | Primul numar corect | 1 |
12 | 124ms | 3556kb | Primul numar corect | 1 |
13 | 128ms | 4152kb | OK | 5 |
14 | 152ms | 4636kb | OK | 5 |
15 | 108ms | 5188kb | Primul numar corect | 1 |
16 | 116ms | 5180kb | Primul numar corect | 1 |
17 | 88ms | 4160kb | Primul numar corect | 1 |
18 | 168ms | 5192kb | OK | 5 |
19 | 104ms | 3544kb | Primul numar corect | 1 |
20 | 136ms | 5192kb | Primul numar corect | 1 |
Punctaj total | 48 |