Pagini recente » Borderou de evaluare (job #1417059) | Borderou de evaluare (job #2758423) | Borderou de evaluare (job #1194823) | Borderou de evaluare (job #891014) | Borderou de evaluare (job #1511911)
Borderou de evaluare (job #1511911)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:69:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d ", &n);
^
user.cpp:73:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d ", &a, &b);
^
user.cpp:73:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:85:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < candidates.size() && needed; ++j)
^
user.cpp:96:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < chosen.size(); ++j)
^
user.cpp:69:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:73:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d ", &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK! | 10 |
2 | 0ms | 320kb | OK! | 10 |
3 | 0ms | 324kb | OK! | 10 |
4 | 36ms | 336kb | OK! | 10 |
5 | 168ms | 364kb | OK! | 10 |
6 | 172ms | 356kb | OK! | 10 |
7 | 168ms | 364kb | OK! | 10 |
8 | 172ms | 356kb | OK! | 10 |
9 | 172ms | 360kb | OK! | 10 |
10 | 172ms | 360kb | OK! | 10 |
Punctaj total | 100 |