Borderou de evaluare (job #1234288)

Utilizator andrettiAndretti Naiden andretti Data 27 septembrie 2014 00:17:57
Problema Kss Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d %I64u\n",&n,&K); ^ user.cpp: In function ‘void preproc()’: user.cpp:23:24: warning: unused variable ‘sum’ [-Wunused-variable] unsigned long long sum=0; ^ user.cpp: In function ‘void read()’: user.cpp:15:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %I64u\n",&n,&K); ^ user.cpp:16:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s\n",s+1); ^ user.cpp: In function ‘int main()’: user.cpp:65:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kss.in","r",stdin); ^ user.cpp:66:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("kss.out","w",stdout); ^ user.cpp:68:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&T); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbOK10
20ms276kbOK10
30ms288kbOK10
496ms348kbOK10
5Depăşit388kbTime limit exceeded.0
6Depăşit392kbTime limit exceeded.0
7Depăşit388kbTime limit exceeded.0
8Depăşit392kbTime limit exceeded.0
9Depăşit392kbTime limit exceeded.0
10Depăşit388kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?