Pagini recente » Borderou de evaluare (job #3174053) | Borderou de evaluare (job #347886) | Borderou de evaluare (job #2817798) | Borderou de evaluare (job #3038671) | Borderou de evaluare (job #2739768)
Borderou de evaluare (job #2739768)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:19:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d",&t);
^
main.cpp:24:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d",&a[i]);
^
main.cpp:54:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(g,"%d ",k);
^
main.cpp:56:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(g,"%d ",sol[j]);
^
main.cpp:19:18: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
main.cpp:22:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%ld%ld",&n,&m);
^
main.cpp:24:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 431ms | 7471kb | Corect! | 100 |
Punctaj total | 100 |