Borderou de evaluare (job #1388133)

Utilizator cojocarugabiReality cojocarugabi Data 15 martie 2015 10:56:38
Problema Mcript Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33:55: warning: array subscript has type ‘char’ [-Wchar-subscripts] for (int i=1;s[i];++i) l = l * 10 + p[s[i]]; ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mcript.in","r",stdin); ^ user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("mcript.out","w",stdout); ^ user.cpp:13:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%s",&aux,s+1); ^ user.cpp:16:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&aux); ^ user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s+1);l = 0; ^ user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&aux); ^ user.cpp:27:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ user.cpp:31:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",s+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1108msDepăşitMemory limit exceeded.0
2108msDepăşitMemory limit exceeded.0
3108msDepăşitMemory limit exceeded.0
4108msDepăşitMemory limit exceeded.0
5108msDepăşitMemory limit exceeded.0
6108msDepăşitMemory limit exceeded.0
7108msDepăşitMemory limit exceeded.0
8108msDepăşitMemory limit exceeded.0
9108msDepăşitMemory limit exceeded.0
10104msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?