Pagini recente » Borderou de evaluare (job #2567367) | Borderou de evaluare (job #769959) | Borderou de evaluare (job #2297702) | Borderou de evaluare (job #720373) | Borderou de evaluare (job #2393517)
Borderou de evaluare (job #2393517)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n ; ++i) s1[i] = 'x'; s1[pos] = 'a';
^~~
main.cpp:44:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i = 1; i <= n ; ++i) s1[i] = 'x'; s1[pos] = 'a';
^~
main.cpp:45:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n ; ++i) s2[i] = 'z'; s2[n] = 'a';
^~~
main.cpp:45:47: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
for(int i = 1; i <= n ; ++i) s2[i] = 'z'; s2[n] = 'a';
^~
main.cpp:15:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("movedel.in", "r", stdin);
^
main.cpp:16:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("movedel.out", "w", stdout);
^
main.cpp:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 393kb | Mai incearca | 0 |
| 2 | 5ms | 393kb | Mai incearca | 0 |
| 3 | 5ms | 393kb | Mai incearca | 0 |
| 4 | 5ms | 393kb | Perfect | 10 |
| 5 | 5ms | 393kb | Mai incearca | 0 |
| 6 | 5ms | 393kb | Binisor | 6 |
| 7 | 5ms | 393kb | Binisor | 1 |
| 8 | 5ms | 393kb | Mai incearca | 0 |
| 9 | 6ms | 393kb | Mai incearca | 0 |
| 10 | 6ms | 393kb | Mai incearca | 0 |
| Punctaj total | 17 |