Borderou de evaluare (job #1207884)

Utilizator pavlov.ionPavlov Ion pavlov.ion Data 14 iulie 2014 11:01:27
Problema Texttrim Status done
Runda Arhiva Monthly Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:15: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&W); ^ user.cpp:14:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<strlen(s);i++) ^ user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("texttrim.in","r",stdin); ^ 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("texttrim.out","w",stdout); ^ user.cpp:11:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&alfa[i]); ^ user.cpp:12:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s); ^ user.cpp:13:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&W); ^ /tmp/ccML89Kx.o: In function `main': user.cpp:(.text.startup+0x7b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms264kbOK100
20ms244kbOK10
30ms240kbOK10
40ms240kbOK10
54ms288kbOK10
60ms456kbOK10
74ms1232kbIncorect0
8Depăşit1208kbTime limit exceeded.0
9112ms1240kbOK10
10Depăşit1208kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?