Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2746023)
| Utilizator | Data | 27 aprilie 2021 13:16:33 | |
|---|---|---|---|
| Problema | Colier | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 100 | ||
Raport evaluator
Compilare:
main.cpp: In function 'int solve()':
main.cpp:9:18: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[100000]' [-Wformat=]
fscanf(f,"%s",&s);
^
main.cpp:7:7: warning: unused variable 'c' [-Wunused-variable]
char c,s[100000];
^
main.cpp:8:21: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld ",&n);
^
main.cpp:9:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
main.cpp: In function 'int main()':
main.cpp:39:19: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
| 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 | 2ms | 131kb | OK | 10 |
| 6 | 6ms | 262kb | OK | 10 |
| 7 | 7ms | 262kb | OK | 10 |
| 8 | 7ms | 262kb | OK | 10 |
| 9 | 7ms | 262kb | OK | 10 |
| 10 | 8ms | 262kb | OK | 10 |
| Punctaj total | 100 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
