Pagini recente » Borderou de evaluare (job #2526556) | Borderou de evaluare (job #1758004) | Borderou de evaluare (job #3171970) | Borderou de evaluare (job #908076) | Borderou de evaluare (job #953601)
Borderou de evaluare (job #953601)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d",&n);
^
user.cpp:23:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&v[i].l,&v[i].g);
^
user.cpp:23:41: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:52:31: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘int’ [-Wformat=]
fprintf(g,"%d %ld\n",m,max);
^
user.cpp:54:30: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",u[i]);
^
user.cpp: In function ‘int cmp(str, str)’:
user.cpp:19:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:46:21: warning: ‘imax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
while(sol[cimax]!=v[cimax].l)
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 236kb | OK | 10 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 236kb | OK | 10 |
4 | 0ms | 236kb | OK | 10 |
5 | 4ms | 236kb | OK | 10 |
6 | 4ms | 256kb | OK | 10 |
7 | 4ms | 256kb | OK | 10 |
8 | 4ms | 260kb | Incorect | 0 |
9 | 8ms | 264kb | OK | 10 |
10 | 84ms | 372kb | Incorect | 0 |
Punctaj total | 80 |