Borderou de evaluare (job #1742863)

Utilizator OlivianOlivian Dan Cretu Olivian Data 17 august 2016 11:18:04
Problema Chiftea Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(long long i=1;i<=t;i++) ^ user.cpp:23:39: warning: operation on ‘s’ may be undefined [-Wsequence-point] else if(n<=2*l) s=s+=4; ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.in","r",stdin); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("chiftea.out","w",stdout); ^ user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&t); ^ user.cpp:13:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit276kbTime limit exceeded.0
2Depăşit268kbTime limit exceeded.0
3Depăşit280kbTime limit exceeded.0
4Depăşit276kbTime limit exceeded.0
5Depăşit284kbTime limit exceeded.0
6Depăşit272kbTime limit exceeded.0
7Depăşit284kbTime limit exceeded.0
8Depăşit268kbTime limit exceeded.0
9Depăşit280kbTime limit exceeded.0
10Depăşit276kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?