Pagini recente » Borderou de evaluare (job #741889) | Borderou de evaluare (job #286657) | Borderou de evaluare (job #1603815) | Borderou de evaluare (job #231294) | Borderou de evaluare (job #1969267)
Borderou de evaluare (job #1969267)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:31: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100]’ [-Wformat=]
fscanf(fi,"%s " ,&str);
^
user.cpp:10:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&t);
^
user.cpp:13:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%d " ,&n);
^
user.cpp:16:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%s " ,&str);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 416kb | OK | 100 |
Punctaj total | 100 |