Pagini recente » Cod sursa (job #1782001) | Borderou de evaluare (job #2153488) | Borderou de evaluare (job #1967887) | Borderou de evaluare (job #2708082) | Borderou de evaluare (job #1791044)
Borderou de evaluare (job #1791044)
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 | Depăşit | 20692kb | Time limit exceeded. | 0 |
| 2 | Depăşit | 20828kb | Time limit exceeded. | 0 |
| 3 | Depăşit | 20564kb | Time limit exceeded. | 0 |
| 4 | 52ms | 17188kb | OK | 10 |
| 5 | Depăşit | 20148kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 20428kb | Time limit exceeded. | 0 |
| 7 | 20ms | 15896kb | OK | 10 |
| 8 | 24ms | 15920kb | OK | 10 |
| 9 | 28ms | 16140kb | OK | 10 |
| 10 | Depăşit | 19176kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |