Pagini recente » Borderou de evaluare (job #2484382) | Borderou de evaluare (job #2216420) | Borderou de evaluare (job #2899167) | Borderou de evaluare (job #1684086) | Borderou de evaluare (job #1754917)
Borderou de evaluare (job #1754917)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ( "%d %d" , &n , &m );
^
user.cpp:8:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:10:35: 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:10:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:12:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf ( "%d" , &x );
^
user.cpp:16:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
for (i=0;i<n;i++) scanf ("%d",&C[i]);
^
user.cpp:30:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if ((s>>i)&1)
^
user.cpp:24:5: warning: unused variable ‘pp’ [-Wunused-variable]
int pp=0;
^
user.cpp:7:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "reteta.in" , "r" , stdin );
^
user.cpp:8:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d %d" , &n , &m );
^
user.cpp:10:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d %d" , &T[i] , &nr_med );
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d" , &x );
^
user.cpp:16:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=0;i<n;i++) scanf ("%d",&C[i]);
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "reteta.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 288kb | OK | 10 |
4 | 0ms | 292kb | OK | 10 |
5 | 0ms | 292kb | OK | 10 |
6 | 0ms | 296kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 292kb | OK | 10 |
9 | 0ms | 296kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 100 |