Pagini recente » Borderou de evaluare (job #98715) | Borderou de evaluare (job #474194) | Borderou de evaluare (job #247128) | Borderou de evaluare (job #1428749) | Borderou de evaluare (job #1287010)
Borderou de evaluare (job #1287010)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int)’:
user.cpp:19:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:26:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d %d",&x,&y);
^
user.cpp:26:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:23:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld",&n,&m);
^
user.cpp:26:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&x,&y);
^
user.cpp:31:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld %ld %ld",&type,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 176kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |