Borderou de evaluare (job #1052936)

Utilizator bobbychivescuChivescu Bogdan-Andrei bobbychivescu Data 11 decembrie 2013 22:11:21
Problema Fractii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d", &n); ^ user.cpp:13:31: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] for(j=1; j<=n; j++) if(i!=1 && j!=1) if(j==i)k--; ^ user.cpp:17:19: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d", k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit236kbTime limit exceeded.0
220ms236kbRaspuns gresit0
3Depăşit236kbTime limit exceeded.0
4Depăşit236kbTime limit exceeded.0
5Depăşit240kbTime limit exceeded.0
6Depăşit236kbTime limit exceeded.0
7Depăşit236kbTime limit exceeded.0
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
10Depăşit236kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?