Pagini recente » Borderou de evaluare (job #2449312) | Borderou de evaluare (job #2591236) | Borderou de evaluare (job #1197955) | Borderou de evaluare (job #696680) | Borderou de evaluare (job #2371730)
Borderou de evaluare (job #2371730)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:53:23: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[(m + 2)]' [-Wformat=]
scanf("%s\n", &s);
^
main.cpp:54:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = 0; j < strlen(s); j++) {
~~^~~~~~~~~~~
main.cpp:44:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("marceland.in", "r", stdin);
^
main.cpp:45:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("marceland.out", "w", stdout);
^
main.cpp:47:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nrTests);
^
main.cpp:50:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
main.cpp:53:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK! | 10 |
2 | 2ms | 131kb | OK! | 10 |
3 | 2ms | 131kb | OK! | 10 |
4 | 2ms | 131kb | OK! | 10 |
5 | 2ms | 131kb | OK! | 10 |
6 | 2ms | 131kb | OK! | 10 |
7 | 8ms | 262kb | OK! | 10 |
8 | 8ms | 131kb | OK! | 10 |
9 | 8ms | 262kb | OK! | 10 |
10 | 8ms | 262kb | OK! | 10 |
Punctaj total | 100 |