Pagini recente » Borderou de evaluare (job #2166236) | Borderou de evaluare (job #2866786) | Borderou de evaluare (job #407344) | Borderou de evaluare (job #2665839) | Borderou de evaluare (job #2448851)
Borderou de evaluare (job #2448851)
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:74:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
scanf("%s", &mat[n+1]);
^
main.cpp:81:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
scanf("%s", &mat[n+2]);
^
main.cpp:152:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[10]' [-Wformat=]
scanf("%s", &mat[n+1]);
^
main.cpp:153: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:69:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q);
^
main.cpp:71:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &k);
^
main.cpp:74:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &mat[n+1]);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
✓ | 1 | 62ms | 786kb | Incorect | 0 | 0 |
✓ | 2 | 268ms | 786kb | Incorect | 0 |
✓ | 3 | 279ms | 786kb | Incorect | 0 |
✓ | 4 | 290ms | 786kb | Incorect | 0 |
✓ | 5 | 132ms | 786kb | Incorect | 0 | 0 |
✓ | 6 | 340ms | 782kb | Incorect | 0 |
✓ | 7 | 360ms | 786kb | Incorect | 0 |
✓ | 8 | 327ms | 786kb | Incorect | 0 |
✓ | 9 | 32ms | 917kb | Incorect | 0 | 0 |
✓ | 10 | 31ms | 655kb | Incorect | 0 |
✓ | 11 | 285ms | 786kb | Incorect | 0 | 0 |
✓ | 12 | 315ms | 786kb | Incorect | 0 |
✓ | 13 | 321ms | 917kb | Incorect | 0 |
✓ | 14 | 306ms | 786kb | Incorect | 0 |
✓ | 15 | 337ms | 786kb | Incorect | 0 |
✓ | 16 | 312ms | 786kb | Incorect | 0 |
✓ | 17 | 345ms | 786kb | Incorect | 0 |
✓ | 18 | 334ms | 786kb | Incorect | 0 |
✓ | 19 | 325ms | 786kb | Incorect | 0 |
✓ | 20 | 330ms | 786kb | Incorect | 0 |
Punctaj total | 0 |