Pagini recente » Cod sursa (job #891997) | Borderou de evaluare (job #3044321) | Borderou de evaluare (job #1098493) | Borderou de evaluare (job #2611558) | Borderou de evaluare (job #2481143)
Borderou de evaluare (job #2481143)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:11:18: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[100002]' [-Wformat=]
scanf("%s",&a);
^
main.cpp:135:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d",c[y]);
^
main.cpp:9:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin);
^
main.cpp:10:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out","w",stdout);
^
main.cpp:11:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&a);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 10 |
| 2 | 2ms | 131kb | OK | 10 |
| 3 | 2ms | 131kb | OK | 10 |
| 4 | 2ms | 131kb | OK | 10 |
| 5 | 3ms | 131kb | OK | 10 |
| 6 | 2ms | 131kb | OK | 10 |
| 7 | 2ms | 131kb | OK | 10 |
| 8 | 3ms | 131kb | Incorect | 0 |
| 9 | 5ms | 655kb | OK | 10 |
| 10 | 5ms | 655kb | OK | 10 |
| Punctaj total | 90 |