Borderou de evaluare (job #1976489)

Utilizator andrei20003Ionescu Andrei andrei20003 Data 3 mai 2017 15:51:15
Problema ClassicTask Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void produs(long long int&, long long int)’: user.cpp:15:10: warning: statement has no effect [-Wunused-value] a%m; ^ user.cpp: In function ‘int main()’: user.cpp:27:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d", &a, &b, &c); ^ user.cpp:27:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:27:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:36:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d",p); ^ user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("classictask.in","r",stdin); ^ user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("classictask.out","w",stdout); ^ user.cpp:27:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &c); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms272kbOK10
30ms272kbIncorect0
40ms272kbIncorect0
50ms268kbIncorect0
60ms272kbIncorect0
70ms268kbIncorect0
80ms272kbIncorect0
90ms272kbIncorect0
100ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?