Pagini recente » Borderou de evaluare (job #1031940) | Borderou de evaluare (job #1958716) | Borderou de evaluare (job #619732) | Borderou de evaluare (job #1102469) | Borderou de evaluare (job #2230724)
Borderou de evaluare (job #2230724)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d",&n);
^
user.cpp:24:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(IN,"%d%d",&l,&r);
^
user.cpp:24:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:18:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&n);
^
user.cpp:24:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d%d",&l,&r);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1316kb | Incorect | 0 |
| Punctaj total | 0 |