Borderou de evaluare (job #1279218)

Utilizator jul123Iulia Duta jul123 Data 29 noiembrie 2014 22:26:05
Problema 3secv Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

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:80:11: warning: statement has no effect [-Wunused-value] for(i ; s != p2 && s != stotal - p1 - p2; ++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:80:41: warning: ‘p2’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(i ; s != p2 && s != stotal - p1 - p2; ++i) ^ user.cpp:73: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
18ms452kbOK10
216ms424kbKilled by signal 11(SIGSEGV).0
312ms412kbKilled by signal 11(SIGSEGV).0
48ms412kbKilled by signal 11(SIGSEGV).0
532ms800kbKilled by signal 11(SIGSEGV).0
632ms804kbKilled by signal 11(SIGSEGV).0
732ms800kbKilled by signal 11(SIGSEGV).0
8216ms4312kbKilled by signal 11(SIGSEGV).0
9196ms4312kbKilled by signal 11(SIGSEGV).0
10236ms4312kbKilled by signal 11(SIGSEGV).0
Punctaj total10

Ceva nu functioneaza?