Pagini recente » Borderou de evaluare (job #1749040) | Borderou de evaluare (job #467608) | Borderou de evaluare (job #2898206) | Borderou de evaluare (job #1354391) | Borderou de evaluare (job #1446724)
Borderou de evaluare (job #1446724)
Raport evaluator
Compilare:
user.cpp: In function ‘void umple()’:
user.cpp:34:13: warning: unused variable ‘i’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp:34:15: warning: unused variable ‘j’ [-Wunused-variable]
int x,y,i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:209: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:210: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:211:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&n);
^
user.cpp:214: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:216: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:218: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:220: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:222: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:224:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ",&k);
^
user.cpp:227: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:129:27: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:129:21: warning: array subscript is above array bounds [-Warray-bounds]
m1[1]=m2[1]=m1[2]=m2[2]=inf;
^
user.cpp:194:14: warning: array subscript is above array bounds [-Warray-bounds]
if(m1[2]>dist[it->first][it->second]){
^
user.cpp:195: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 | 0ms | 372kb | Primul numar corect | 1 |
3 | 0ms | 528kb | Primul numar corect | 1 |
4 | 8ms | 1072kb | Primul numar corect | 1 |
5 | 8ms | 1260kb | OK | 5 |
6 | 24ms | 1816kb | Primul numar corect | 1 |
7 | 0ms | 800kb | OK | 5 |
8 | 0ms | 512kb | OK | 5 |
9 | 12ms | 1384kb | OK | 5 |
10 | 32ms | 2740kb | Primul numar corect | 1 |
11 | 44ms | 2736kb | Primul numar corect | 1 |
12 | 128ms | 3572kb | Primul numar corect | 1 |
13 | 128ms | 4160kb | OK | 5 |
14 | 152ms | 4664kb | OK | 5 |
15 | 112ms | 5192kb | Primul numar corect | 1 |
16 | 120ms | 5196kb | Primul numar corect | 1 |
17 | 92ms | 4180kb | Primul numar corect | 1 |
18 | 172ms | 5272kb | OK | 5 |
19 | 104ms | 3560kb | Primul numar corect | 1 |
20 | 140ms | 5200kb | Primul numar corect | 1 |
Punctaj total | 48 |