Pagini recente » Borderou de evaluare (job #3132193) | Borderou de evaluare (job #2723605) | Borderou de evaluare (job #2191420) | Borderou de evaluare (job #2258890) | Borderou de evaluare (job #1600585)
Borderou de evaluare (job #1600585)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:25: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘bool*’ [-Wformat=]
while(scanf("%c", &x)!=EOF)
^
user.cpp: In function ‘void cerinta1()’:
user.cpp:30:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<v.size()-K; ++i)
^
user.cpp:33:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(v[i]==0 && i<v.size()-K)
^
user.cpp:35:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=i; j<i+K && j<v.size(); ++j)
^
user.cpp: In function ‘int main()’:
user.cpp:15:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.in", "rt", stdin);
^
user.cpp:16:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("blis.out", "wt", stdout);
^
user.cpp:17:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &K);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 436kb | Valoare incorecta cerinta 2 ! | 1 |
| 2 | 0ms | 440kb | Incorect ! | 0 |
| 3 | 0ms | 440kb | Incorect ! | 0 |
| 4 | 0ms | 444kb | Incorect ! | 0 |
| 5 | 0ms | 440kb | Incorect ! | 0 |
| 6 | 0ms | 444kb | Incorect ! | 0 |
| 7 | 0ms | 440kb | Incorect ! | 0 |
| 8 | 0ms | 436kb | Incorect ! | 0 |
| 9 | 0ms | 444kb | Incorect ! | 0 |
| 10 | 0ms | 440kb | Incorect ! | 0 |
| 11 | 0ms | 440kb | Incorect ! | 0 |
| 12 | 0ms | 436kb | Incorect ! | 0 |
| 13 | 0ms | 436kb | Incorect ! | 0 |
| 14 | 0ms | 436kb | Incorect ! | 0 |
| 15 | 0ms | 440kb | Incorect ! | 0 |
| 16 | 0ms | 440kb | Incorect ! | 0 |
| 17 | 4ms | 448kb | Incorect ! | 0 |
| 18 | 8ms | 452kb | Incorect ! | 0 |
| 19 | 16ms | 468kb | Incorect ! | 0 |
| 20 | 20ms | 472kb | Incorect ! | 0 |
| Punctaj total | 1 |