Pagini recente » Borderou de evaluare (job #126211) | Borderou de evaluare (job #1873493) | Borderou de evaluare (job #1137288) | Borderou de evaluare (job #2369182) | Borderou de evaluare (job #2719522)
Borderou de evaluare (job #2719522)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:52:21: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
fscanf(f,"%d",&t);
^
main.cpp:64:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g,"%d ",sum);
^
main.cpp:68:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
fprintf(g,"%d ",b[i]);
^
main.cpp:52:22: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&t);
^
main.cpp:55:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&n);
^
main.cpp:56:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&k);
^
main.cpp:59:35: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld",&a[i]);
^
main.cpp:71:17: warning: array subscript is above array bounds [-Warray-bounds]
b[100001]={0};
~~~~~~~~^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 214ms | 1048kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |