Borderou de evaluare (job #2280273)

Utilizator isa_edi_cristeaEdi Cristea isa_edi_cristea Data 10 noiembrie 2018 13:13:46
Problema Calcule Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:30: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d %d",&n,&k); ^ main.cpp:20:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&x); ^ main.cpp:21:13: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] s=(s+x)%k; ~~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbIncorect0
214ms131kbIncorect0
334ms131kbIncorect0
443ms262kbIncorect0
547ms131kbIncorect0
620ms131kbIncorect0
738ms262kbIncorect0
844ms262kbOK10
947ms262kbOK10
1053ms262kbIncorect0
Punctaj total20

Ceva nu functioneaza?