Borderou de evaluare (job #2414955)

Utilizator ardutgamerBancila Andrei ardutgamer Data 25 aprilie 2019 12:48:30
Problema Mincinosi Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:13:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mincinosi.in","r",stdin); ^ main.cpp:14:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("mincinosi.out","w",stdout); ^ main.cpp:16:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:19:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i]); ^ main.cpp:35:9: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized] if(v[i] == nr) ^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbCorect!10
22ms131kbCorect!10
32ms131kbCorect!10
48ms262kbCorect!10
534ms786kbCorect!10
6102ms2097kbCorect!10
7205ms5373kbCorect!10
8356ms7864kbCorect!10
9519ms13107kbCorect!10
10510ms13107kbCorect!10
Punctaj total100

Ceva nu functioneaza?