Borderou de evaluare (job #1708867)

Utilizator andrei00Andrei andrei00 Data 28 mai 2016 03:17:25
Problema Cifre4 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] fscanf(f,"%d %d", &n, &p); ^ user.cpp:14:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long unsigned int*’ [-Wformat=] user.cpp: In function ‘void solve()’: user.cpp:32:16: warning: left operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:32:28: warning: right operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:32:33: warning: right operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:32:38: warning: right operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:32:43: warning: right operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:32:48: warning: right operand of comma operator has no effect [-Wunused-value] while (number <= 18, 446, 744, 073, 709, 551, 614) ^ user.cpp:36:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long unsigned int’ [-Wformat=] fprintf(f2,"%d", number); ^ user.cpp: In function ‘void read()’: user.cpp:14:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d", &n, &p); ^ user.cpp: In function ‘int main()’: user.cpp:52:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms264kbIncorect0
Punctaj total0

Ceva nu functioneaza?