Borderou de evaluare (job #2528962)

Utilizator stef2003Bud Stefan stef2003 Data 22 ianuarie 2020 19:49:50
Problema Lift Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 50

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:23: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d",&q); ^ main.cpp:20:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d",&x); ^ main.cpp:16:9: warning: iteration 97 invokes undefined behavior [-Waggressive-loop-optimizations] f[i]=f[i-1]+f[i-2]; ~~~~^~~~~~~~~~~~~~ main.cpp:15:12: note: within this loop for(i=3;i<=100;i++) ~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms131kbCorrect!10
2171ms1310kbCorrect!10
3172ms1179kbCorrect!10
4314ms2097kbCorrect!10
53ms131kbKilled by Signal 110
63ms131kbKilled by Signal 110
73ms131kbKilled by Signal 110
83ms131kbKilled by Signal 110
93ms131kbKilled by Signal 110
102ms131kbCorrect!10
Punctaj total50

Ceva nu functioneaza?