Pagini recente » Borderou de evaluare (job #430822) | Borderou de evaluare (job #2269607) | Borderou de evaluare (job #906056) | Borderou de evaluare (job #993210) | Borderou de evaluare (job #2590322)
Borderou de evaluare (job #2590322)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n" , v.size());
^
main.cpp:28:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0 ; i < v.size() ; i ++)
~~^~~~~~~~~~
main.cpp:11:21: warning: unused variable 'fact1' [-Wunused-variable]
int c , l , i , fact1 , fact2;
^~~~~
main.cpp:11:29: warning: unused variable 'fact2' [-Wunused-variable]
int c , l , i , fact1 , fact2;
^~~~~
main.cpp:9:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.in" , "r" , stdin);
^
main.cpp:10:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("vampir.out" , "w" , stdout);
^
main.cpp:12:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d" , &c , &l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 20 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 | 10 |
4 | 2ms | 131kb | OK | 10 | 10 |
5 | 2ms | 131kb | OK | 10 | 10 |
6 | 2ms | 131kb | OK | 10 | 0 |
7 | 2ms | 131kb | Incorect | 0 |
8 | 2ms | 131kb | Incorect | 0 | 0 |
9 | 2ms | 131kb | Incorect | 0 | 0 |
10 | 2ms | 131kb | Incorect | 0 | 0 |
Punctaj total | 50 |