Borderou de evaluare (job #1955238)

Utilizator mihai.alphamihai craciun mihai.alpha Data 5 aprilie 2017 21:17:09
Problema Lift Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘util check(int)’: user.cpp:31:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(r + pas < fib.size() && fib[r + pas] <= a) ^ user.cpp: In function ‘int main()’: user.cpp:18:25: warning: integer overflow in expression [-Woverflow] #define MAX 100000000 * 100000000 ^ user.cpp:75:34: note: in expansion of macro ‘MAX’ while(fib[fib.size() - 1] <= MAX) { ^ user.cpp:72:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &q); ^ user.cpp:81:66: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%lld", &n), nrt = 0, memset(d, 0, sizeof(d)); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbCorrect!10
264ms276kbCorrect!10
364ms276kbCorrect!10
4104ms268kbCorrect!10
50ms272kbKilled by signal 11(SIGSEGV).0
60ms292kbKilled by signal 11(SIGSEGV).0
70ms268kbKilled by signal 11(SIGSEGV).0
80ms292kbKilled by signal 11(SIGSEGV).0
90ms292kbKilled by signal 11(SIGSEGV).0
100ms272kbCorrect!10
Punctaj total50

Ceva nu functioneaza?