Borderou de evaluare (job #1272502)

Utilizator nytr0gennytr0gen nytr0gen Data 22 noiembrie 2014 14:07:53
Problema Criptare2 Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘bool verif(std::string, std::string, int)’: user.cpp:10:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] if (c[ B[i] ] == 0) { ^ user.cpp:11:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] c[ B[i] ] = A[i]; ^ user.cpp:12:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] } else if (c[ B[i] ] != A[i]) { ^ user.cpp: In function ‘int main()’: user.cpp:37:14: warning: unused variable ‘k’ [-Wunused-variable] int now, k = 0; ^ user.cpp:21:40: 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:22:42: 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:25:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s ", str); ^ user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &M); ^ user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s ", str); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms284kbOK10
20ms288kbOK10
34ms284kbOK10
4Depăşit788kbTime limit exceeded.0
5Depăşit1296kbTime limit exceeded.0
6Depăşit1300kbTime limit exceeded.0
7Depăşit1292kbTime limit exceeded.0
8Depăşit1300kbTime limit exceeded.0
9Depăşit1296kbTime limit exceeded.0
10Depăşit1300kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?