Pagini recente » Borderou de evaluare (job #2543742) | Borderou de evaluare (job #661176) | Borderou de evaluare (job #1466041) | Borderou de evaluare (job #2685438) | Borderou de evaluare (job #2276186)
Borderou de evaluare (job #2276186)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
fscanf(fin,"%d",&T);
^
main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
fscanf(fin,"%d%d%d",&N,&M,&Q);
^
main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
main.cpp:37:37: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
fscanf(fin,"%d%d%d%d",&le1,&ri1,&le2,&ri2);
^
main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 5 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
main.cpp:50:54: warning: format '%d' expects argument of type 'int*', but argument 6 has type 'size_t* {aka long unsigned int*}' [-Wformat=]
main.cpp:34:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&T);
^
main.cpp:37:38: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d",&N,&M,&Q);
^
main.cpp:42:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",A+i);
^
main.cpp:46:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",B+i);
^
main.cpp:50:55: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d%d%d",&le1,&ri1,&le2,&ri2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |