Borderou de evaluare (job #1272210)

Utilizator deresurobertoFMI - Deresu Roberto deresuroberto Data 22 noiembrie 2014 13:48:34
Problema Criptare2 Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int verificare()’: user.cpp:18:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for( j=0;j<strlen(a[i]);j++) ^ user.cpp:26:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(j == strlen(a[i])) return 1; ^ user.cpp:9:9: warning: unused variable ‘i’ [-Wunused-variable] int i,j; ^ user.cpp: In function ‘int main()’: user.cpp:33:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("criptare2.in","r",stdin); ^ user.cpp:34:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("criptare2.out","w",stdout); ^ user.cpp:35:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&n); ^ user.cpp:41:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:50:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n",&m); ^ user.cpp:56:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^ user.cpp:61:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c",&c); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
✓10ms244kbOK10
✓20ms248kbOK10
✓30ms256kbOK10
✓4Depăşit832kbTime limit exceeded.0
✓5Depăşit1408kbTime limit exceeded.0
✓6Depăşit1404kbTime limit exceeded.0
✓7Depăşit1408kbTime limit exceeded.0
✓8Depăşit1408kbTime limit exceeded.0
✓9Depăşit1404kbTime limit exceeded.0
✓10Depăşit1404kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?