Pagini recente » Borderou de evaluare (job #1975911) | Borderou de evaluare (job #2935424) | Borderou de evaluare (job #1526516) | Borderou de evaluare (job #2232085) | Borderou de evaluare (job #1666022)
Borderou de evaluare (job #1666022)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[200]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:34:15: warning: unused variable ‘ch’ [-Wunused-variable]
char s[200], ch;
^
user.cpp:35:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%d", &t);
^
user.cpp:39:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f, "%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 100 |
Punctaj total | 100 |