Pagini recente » Borderou de evaluare (job #2637061) | Borderou de evaluare (job #1821672) | Borderou de evaluare (job #1919784) | Borderou de evaluare (job #849187) | Borderou de evaluare (job #1077370)
Borderou de evaluare (job #1077370)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ( "%d %d" , &n , &m );
^
user.cpp:12:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ( "%d %d" , &T[i] , &nr_med );
^
user.cpp:15:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:18:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ( "%d" , &x );
^
user.cpp:23:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ("%d",&C[i]);
^
user.cpp:40:16: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ((s>>i)&1)
^
user.cpp:32:9: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 240kb | OK | 10 |
3 | 0ms | 244kb | OK | 10 |
4 | 4ms | 240kb | OK | 10 |
5 | 4ms | 236kb | OK | 10 |
6 | 4ms | 240kb | OK | 10 |
7 | 4ms | 240kb | OK | 10 |
8 | 4ms | 244kb | OK | 10 |
9 | 4ms | 240kb | OK | 10 |
10 | 4ms | 232kb | OK | 10 |
Punctaj total | 100 |