Pagini recente » Borderou de evaluare (job #1888615) | Borderou de evaluare (job #3151888) | Borderou de evaluare (job #3198828) | Borderou de evaluare (job #3302531) | Borderou de evaluare (job #1791046)
Borderou de evaluare (job #1791046)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:27: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf ("%c", &a[i]);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("substr.in","r",stdin);
^
user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("substr.out","w",stdout);
^
user.cpp:12:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &n, &k);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 100ms | 5464kb | OK | 10 |
| 2 | 100ms | 5428kb | OK | 10 |
| 3 | 88ms | 5272kb | OK | 10 |
| 4 | 24ms | 3720kb | OK | 10 |
| 5 | 80ms | 5124kb | OK | 10 |
| 6 | 92ms | 5360kb | OK | 10 |
| 7 | 4ms | 2628kb | OK | 10 |
| 8 | 4ms | 2648kb | OK | 10 |
| 9 | 8ms | 2868kb | OK | 10 |
| 10 | 64ms | 4804kb | OK | 10 |
| Punctaj total | 100 |