Borderou de evaluare (job #1861360)

Utilizator OlivianOlivian Dan Cretu Olivian Data 28 ianuarie 2017 20:05:44
Problema Redu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d %s",&n,s); ^ user.cpp:26:70: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] for(int i=1;i<=26;i++) for(int j=1;j<=26;j++) scanf("%d",&m[i][j]); ^ user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.in","r",stdin); ^ user.cpp:24:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("redu.out","w",stdout); ^ user.cpp:25:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %s",&n,s); ^ user.cpp:26:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(int i=1;i<=26;i++) for(int j=1;j<=26;j++) scanf("%d",&m[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms316kbOK10
20ms360kbOK10
30ms476kbOK10
40ms748kbIncorect0
548ms2164kbIncorect0
6Depăşit3540kbTime limit exceeded.0
7Depăşit3540kbTime limit exceeded.0
8Depăşit3540kbTime limit exceeded.0
9Depăşit3540kbTime limit exceeded.0
10Depăşit3536kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?