Borderou de evaluare (job #1709342)

Utilizator SegfaultTamersUPB SegFaultTamers SegfaultTamers Data 28 mai 2016 11:52:31
Problema Twoton Status done
Runda ONIS 2016 - Runda - 2 - ACM ICPC Romanian Programming Contest Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &a[i]); ^ user.cpp:56:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", memo[0]); ^ user.cpp:33:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:37:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK10100
20ms432kbOK10
30ms436kbOK10
40ms436kbOK10
50ms432kbOK10
60ms448kbOK10
70ms448kbOK10
84ms588kbOK10
932ms1996kbOK10
1028ms2000kbOK10
Punctaj total100

Ceva nu functioneaza?