Pagini recente » Borderou de evaluare (job #541091) | Borderou de evaluare (job #219586) | Borderou de evaluare (job #734657) | Borderou de evaluare (job #569778) | Borderou de evaluare (job #2154724)
Borderou de evaluare (job #2154724)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:24: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c", &txt[0]);
^
user.cpp:24:28: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%c", &txt[p]);
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out", "w", stdout);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w[i]);
^
user.cpp:20:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &txt[0]);
^
user.cpp:24:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &txt[p]);
^
user.cpp:31:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &len);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 800kb | OK | 10 | 0 |
2 | 0ms | 752kb | OK | 10 |
3 | 0ms | 756kb | Incorect | 0 |
4 | 0ms | 804kb | OK | 10 |
5 | 0ms | 756kb | OK | 10 |
6 | 20ms | 1440kb | OK | 10 |
7 | 92ms | 4556kb | OK | 10 |
8 | 100ms | 4560kb | OK | 10 |
9 | 92ms | 4556kb | OK | 10 |
10 | 88ms | 4560kb | OK | 10 |
Punctaj total | 0 |