Borderou de evaluare (job #1251270)

Utilizator DjokValeriu Motroi Djok Data 29 octombrie 2014 10:09:32
Problema Puteri35 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:21:48: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] if(nr(i,3)<=nr(j,5)) printf("%ld\n",nr(i++,3)); ^ user.cpp:22:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] else printf("%ld\n",nr(j++,5)); ^ user.cpp:24:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] while(i<=n) printf("%ld\n",nr(i++,3)); ^ user.cpp:25:39: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=] while(j<=n) printf("%ld\n",nr(j++,5)); ^ user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.in","r",stdin); ^ user.cpp:17:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("puteri35.out","w",stdout); ^ user.cpp:19:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); i=j=1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms256kbOK10
30ms260kbOK10
40ms264kbOK10
50ms260kbOK10
60ms260kbOK10
78ms256kbOK10
8840ms260kbIncorect0
91152ms264kbIncorect0
101220ms264kbIncorect0
Punctaj total70

Ceva nu functioneaza?