Borderou de evaluare (job #1279013)

Utilizator jul123Iulia Duta jul123 Data 29 noiembrie 2014 17:36:12
Problema 3secv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:34: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=] fscanf(fin, "%lld", &a[i]); ^ user.cpp:14:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:18:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &a[i]); ^ user.cpp:62:5: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = n - 1; s != p2; --i) ^ user.cpp:56:5: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i = 0; s != p1; ++i) { ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms448kbIncorect0
212ms448kbIncorect0
312ms456kbIncorect0
412ms428kbKilled by signal 11(SIGSEGV).0
532ms820kbKilled by signal 11(SIGSEGV).0
636ms840kbOK10
736ms840kbIncorect0
8220ms4348kbIncorect0
9208ms4348kbOK10
10232ms4348kbIncorect0
Punctaj total20

Ceva nu functioneaza?