Pagini recente » Borderou de evaluare (job #1685438) | Borderou de evaluare (job #156325) | Borderou de evaluare (job #2437417) | Borderou de evaluare (job #644597) | Borderou de evaluare (job #2535346)
Borderou de evaluare (job #2535346)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:9:26: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long unsigned int*' [-Wformat=]
fscanf(f,"%d%d",&t,&n);
^
main.cpp:9:26: warning: format '%d' expects argument of type 'int*', but argument 4 has type 'long long unsigned int*' [-Wformat=]
main.cpp:14:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=2;i<=n-1;i++)
~^~~~~
main.cpp:20:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+q<=n)
~~~^~~
main.cpp:22:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i+q==n)
~~~^~~
main.cpp:28:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
fprintf(g,"%d",sol);
^
main.cpp:32:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n-1;i++)
~^~~~~
main.cpp:34:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=]
fprintf(g,"%d %d",n-1,n-1);
^
main.cpp:34:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long unsigned int' [-Wformat=]
main.cpp:9:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&t,&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect! | 2 |
2 | 2ms | 131kb | Corect! | 2 |
3 | 2ms | 131kb | Corect! | 2 |
4 | 2ms | 131kb | Corect! | 2 |
5 | 2ms | 131kb | Corect! | 2 |
6 | 2ms | 131kb | Corect! | 2 |
7 | 2ms | 131kb | Corect! | 2 |
8 | 3ms | 131kb | Corect! | 2 |
9 | 3ms | 131kb | Corect! | 2 |
10 | 3ms | 131kb | Corect! | 2 |
11 | 2ms | 131kb | Corect! | 8 |
12 | 3ms | 393kb | Incorrect! | 0 |
13 | 4ms | 786kb | Incorrect! | 0 |
14 | 95ms | 3014kb | Incorrect! | 0 |
15 | 101ms | 4194kb | Time limit exceeded | 0 |
16 | 101ms | 4456kb | Time limit exceeded | 0 |
17 | 101ms | 4325kb | Time limit exceeded | 0 |
18 | 100ms | 4325kb | Time limit exceeded | 0 |
19 | 103ms | 4587kb | Time limit exceeded | 0 |
20 | 103ms | 4587kb | Time limit exceeded | 0 |
Punctaj total | 28 |