Pagini recente » Borderou de evaluare (job #307294) | Borderou de evaluare (job #1230526) | Borderou de evaluare (job #1622264) | Borderou de evaluare (job #1374575) | Borderou de evaluare (job #2360297)
Borderou de evaluare (job #2360297)
Raport evaluator
Compilare:
main.cpp: In function 'bool L(char*, char*)':
main.cpp:16:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= max(strlen(a), strlen(b)); i++)
~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:20:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= strlen(a); i++)
~~^~~~~~~~~~~~
main.cpp:21:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 1; j <= strlen(b); j++)
~~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:43:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(fin >> s[++n]);
^~~~~
main.cpp:45:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
for(int i = 1; i <= n; i++)
^~~
main.cpp:76:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 2; i <= t; i++)
^~~
main.cpp:80:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
fout << ans;
^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 262kb | Incorect | 0 |
2 | 10ms | 524kb | Incorect | 0 |
3 | 12ms | 524kb | Incorect | 0 |
4 | 5ms | 393kb | Incorect | 0 |
5 | 3ms | 262kb | OK | 10 |
6 | 3ms | 262kb | Incorect | 0 |
7 | 2ms | 262kb | OK | 10 |
8 | 21ms | 524kb | Incorect | 0 |
9 | 8ms | 393kb | Incorect | 0 |
10 | 101ms | 1179kb | Time limit exceeded | 0 |
Punctaj total | 20 |