Pagini recente » Borderou de evaluare (job #1237905) | Borderou de evaluare (job #14763) | Borderou de evaluare (job #1563461) | Borderou de evaluare (job #3240532) | Borderou de evaluare (job #1376455)
Borderou de evaluare (job #1376455)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:21:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%ld %ld\n",&v[i].x,&v[i].y);
^
user.cpp:21:39: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp: In function ‘long int bfs(long int)’:
user.cpp:63:36: warning: unused variable ‘j’ [-Wunused-variable]
long int q[16000],nod,nodnou,k1,k2,j,i,l;
^
user.cpp: In function ‘void graf()’:
user.cpp:112:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
fprintf(g,"%ld\n",sum);
^
user.cpp: In function ‘void citire()’:
user.cpp:19:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld\n",&nr,&k);
^
user.cpp:21:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld\n",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 596kb | OK | 10 |
2 | 0ms | 608kb | OK | 10 |
3 | 4ms | 688kb | OK | 10 |
4 | 12ms | 1048kb | OK | 10 |
5 | 8ms | 1028kb | OK | 10 |
6 | 12ms | 1096kb | OK | 10 |
7 | 12ms | 940kb | OK | 10 |
8 | 12ms | 1116kb | OK | 10 |
9 | 12ms | 1036kb | OK | 10 |
10 | 12ms | 952kb | OK | 10 |
Punctaj total | 100 |