Pagini recente » Borderou de evaluare (job #196894) | Borderou de evaluare (job #2968947) | Borderou de evaluare (job #3217782) | Borderou de evaluare (job #1056347) | Borderou de evaluare (job #2739740)
Borderou de evaluare (job #2739740)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:18:17: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d",&t);
^
main.cpp:23:28: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(f,"%d",&a[i]);
^
main.cpp:45:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(g,"%d ",k);
^
main.cpp:47:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
fprintf(g,"%d ",sol[j]);
^
main.cpp:18: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:21: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:23: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 | 257ms | 3067kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |