Pagini recente » Borderou de evaluare (job #746985) | Monitorul de evaluare | Borderou de evaluare (job #1361460) | Borderou de evaluare (job #2022243) | Borderou de evaluare (job #2135446)
Borderou de evaluare (job #2135446)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:47:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0 ; i < c.size() ; i++)
^
user.cpp: In function ‘int main()’:
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.in","r",stdin);
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alibaba.out","w",stdout);
^
user.cpp:55:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:57:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1032kb | OK | 10 |
| 2 | 0ms | 1036kb | OK | 10 |
| 3 | 0ms | 1036kb | OK | 10 |
| 4 | 0ms | 1036kb | OK | 10 |
| 5 | 0ms | 1104kb | OK | 10 |
| 6 | 0ms | 1116kb | OK | 10 |
| 7 | 4ms | 1156kb | OK | 10 |
| 8 | 0ms | 1080kb | OK | 10 |
| 9 | 0ms | 1112kb | OK | 10 |
| 10 | 0ms | 1084kb | OK | 10 |
| Punctaj total | 100 |