Borderou de evaluare (job #2448818)

Utilizator bogdi1bogdan bancuta bogdi1 Data 17 august 2019 15:27:43
Problema Cuvinte5 Status done
Runda Summer Challenge 2019 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int detdif(int, int)': main.cpp:30:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int l=0; l<=strlen(mat[i]); l++) ~^~~~~~~~~~~~~~~~ main.cpp:31:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0; k<=strlen(mat[j]); k++) ~^~~~~~~~~~~~~~~~ main.cpp:36:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int l=0; l<=strlen(mat[j]); l++) ~^~~~~~~~~~~~~~~~ main.cpp:37:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int k=0; k<=strlen(mat[i]); k++) ~^~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:48:28: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=] scanf("%s", &mat[i]); ^ main.cpp:75:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=] scanf("%s", &mat[n+1]); ^ main.cpp:82:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=] scanf("%s", &mat[n+2]); ^ main.cpp:141:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=] scanf("%s", &mat[n+1]); ^ main.cpp:142:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=] scanf("%s", &mat[n+2]); ^ main.cpp:43:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] { freopen("cuvinte5.in", "r",stdin); ^ main.cpp:44:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("cuvinte5.out", "w", stdout); ^ main.cpp:46:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ main.cpp:48:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &mat[i]); ^ main.cpp:70:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q); ^ main.cpp:72:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &k); ^ main.cpp:75:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%s", &mat[n+1]); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
187ms917kbIncorect00
2274ms786kbIncorect0
3289ms786kbIncorect0
4293ms786kbIncorect0
5136ms786kbIncorect00
6321ms786kbIncorect0
7320ms786kbIncorect0
8346ms786kbIncorect0
939ms786kbIncorect00
1037ms655kbIncorect0
11273ms917kbIncorect00
12296ms786kbIncorect0
13315ms917kbIncorect0
14301ms786kbIncorect0
15319ms917kbIncorect0
16284ms786kbIncorect0
17300ms917kbIncorect0
18295ms655kbIncorect0
19310ms786kbIncorect0
20351ms655kbIncorect0
Punctaj total0

Ceva nu functioneaza?