Pagini recente » Borderou de evaluare (job #1509140) | Borderou de evaluare (job #2329177) | Borderou de evaluare (job #3128486) | Borderou de evaluare (job #2544136) | Borderou de evaluare (job #2431847)
Borderou de evaluare (job #2431847)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:29:31: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:29:31: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'short int*' [-Wformat=]
fscanf(fin, "%d%d%d", &x, &y, &z);
^
main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'short int*' [-Wformat=]
main.cpp:31:41: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'short int*' [-Wformat=]
main.cpp:2:13: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 999999999
^
main.cpp:36:19: note: in expansion of macro 'INF'
cmin[i] = INF;
^~~
main.cpp:37:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<vecini[1].size(); ++i){
~^~~~~~~~~~~~~~~~~
main.cpp:51:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<vecini[aux.dest].size(); ++i){
~^~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:29:32: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d", &n, &m);
^
main.cpp:31:42: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin, "%d%d%d", &x, &y, &z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 4980kb | Incorect | 0 |
2 | 15ms | 4980kb | Incorect | 0 |
3 | 19ms | 4980kb | Incorect | 0 |
4 | 23ms | 4980kb | Incorect | 0 |
5 | 105ms | 5500kb | Incorect | 0 |
6 | 12ms | 4980kb | Incorect | 0 |
7 | 12ms | 4980kb | Incorect | 0 |
8 | 157ms | 6672kb | Incorect | 0 |
9 | 114ms | 5894kb | Incorect | 0 |
10 | 10ms | 4980kb | Incorect | 0 |
Punctaj total | 0 |