Pagini recente » Borderou de evaluare (job #1838879) | Borderou de evaluare (job #728733) | Borderou de evaluare (job #71654) | Borderou de evaluare (job #2327110) | Borderou de evaluare (job #1244286)
Borderou de evaluare (job #1244286)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:32: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[15]’ [-Wformat=]
fscanf(is, "%s", &s);
^
user.cpp:13:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(is, "%d", &t);
^
user.cpp:19:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(is, "%d", &n);
^
user.cpp:22:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(is, "%s", &s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | OK | 100 |
Punctaj total | 100 |