Pagini recente » Borderou de evaluare (job #366330) | Borderou de evaluare (job #389079) | Borderou de evaluare (job #2649661) | Borderou de evaluare (job #1240423) | Borderou de evaluare (job #1666012)
Borderou de evaluare (job #1666012)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:38:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[200]’ [-Wformat=]
fscanf(f, "%s", &s);
^
user.cpp:33:15: warning: unused variable ‘ch’ [-Wunused-variable]
char s[200], ch;
^
user.cpp:34: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:38: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 | Incorect | 0 |
Punctaj total | 0 |