Pagini recente » Borderou de evaluare (job #13298) | Borderou de evaluare (job #457868) | Borderou de evaluare (job #1281447) | Borderou de evaluare (job #406831) | Borderou de evaluare (job #1434393)
Borderou de evaluare (job #1434393)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(cin,"%d %d",&v[i].x,&v[i].y);
^
user.cpp:41:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp: In function ‘int main()’:
user.cpp:21:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d",&t);
^
user.cpp: In function ‘void read()’:
user.cpp:38:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d",&n);
^
user.cpp:41:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(cin,"%d %d",&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 580ms | 4204kb | Incorect | 0 |
Punctaj total | 0 |