Pagini recente » Borderou de evaluare (job #1229875) | Borderou de evaluare (job #2513325) | Borderou de evaluare (job #962209) | Borderou de evaluare (job #1597245) | Borderou de evaluare (job #1044138)
Borderou de evaluare (job #1044138)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:16:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld",&e[i].x,&e[i].y,&e[i].c);
^
user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:18:50: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:38:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld\n%ld\n",ct,n-1);
^
user.cpp:38:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
user.cpp:39:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<sol.size(); i++)
^
user.cpp:40:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%ld %ld\n",sol[i].first,sol[i].second);
^
user.cpp:40:54: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘int’ [-Wformat=]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
2 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
3 | 0ms | 240kb | Fisier de iesire lipsa! | 0 |
4 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
5 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
6 | 0ms | 240kb | Fisier de iesire lipsa! | 0 |
7 | 0ms | 240kb | Fisier de iesire lipsa! | 0 |
8 | 0ms | 240kb | Fisier de iesire lipsa! | 0 |
9 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
10 | 0ms | 236kb | Fisier de iesire lipsa! | 0 |
Punctaj total | 0 |