Pagini recente » Borderou de evaluare (job #756012) | Borderou de evaluare (job #3152466) | Borderou de evaluare (job #1175053) | Borderou de evaluare (job #555077) | Borderou de evaluare (job #2764806)
Borderou de evaluare (job #2764806)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:63:51: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
for(int i=1; i<=n; i++) fscanf(in, "%d", &a[i]);
^
main.cpp:67:35: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=]
fscanf(in, "%d %d", &l, &x);
^
main.cpp:67:35: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long int*' [-Wformat=]
main.cpp:68:55: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
if(l==0) fprintf(out, "%d \n", binKer_0(a,x,n)); //out<<binKer_0(a, x, n)<<endl;
^
main.cpp:61:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
main.cpp:63:52: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1; i<=n; i++) fscanf(in, "%d", &a[i]);
^
main.cpp:64:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &m);
^
main.cpp:67:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d %d", &l, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 5ms | 131kb | Incorect | 0 | 0 |
5 | 20ms | 262kb | Incorect | 0 | 0 |
6 | 64ms | 524kb | Incorect | 0 |
7 | 96ms | 917kb | Incorect | 0 | 0 |
8 | 100ms | 917kb | Incorect | 0 |
9 | 105ms | 917kb | Incorect | 0 |
10 | 106ms | 917kb | Incorect | 0 |
Punctaj total | 0 |