Pagini recente » Borderou de evaluare (job #2577853) | Borderou de evaluare (job #3157634) | Borderou de evaluare (job #3175383) | Borderou de evaluare (job #598030) | Borderou de evaluare (job #2413472)
Borderou de evaluare (job #2413472)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:39:36: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<coord>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout,"%d\n",poli.size());
^
main.cpp:43:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<poli.size()){
~^~~~~~~~~~~~
main.cpp:45:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j<poli.size() && 1LL*poli[j].x*poli[i].y==1LL*poli[j].y*poli[i].x)
~^~~~~~~~~~~~
main.cpp:50:35: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
fprintf(fout,"%d\n",sol.size());
^
main.cpp:51:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++)
~^~~~~~~~~~~
main.cpp:41:9: warning: unused variable 'nrdif' [-Wunused-variable]
int nrdif=0;
^~~~~
main.cpp:29:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&n);
^
main.cpp:31:26: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&r);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect | 5 |
2 | 3ms | 131kb | Corect | 5 |
3 | 2ms | 131kb | Corect | 5 |
4 | 3ms | 131kb | Corect | 5 |
5 | 3ms | 131kb | Corect | 5 |
6 | 3ms | 131kb | Corect | 5 |
7 | 3ms | 131kb | Corect | 5 |
8 | 15ms | 131kb | Corect | 5 |
9 | 16ms | 131kb | Corect | 5 |
10 | 7ms | 131kb | Corect | 5 |
11 | 48ms | 131kb | Corect | 5 |
12 | 89ms | 131kb | Corect | 5 |
13 | 127ms | 131kb | Corect | 5 |
14 | 146ms | 131kb | Corect | 5 |
15 | 152ms | 131kb | Time limit exceeded | 0 |
16 | 153ms | 131kb | Time limit exceeded | 0 |
17 | 152ms | 131kb | Time limit exceeded | 0 |
18 | 153ms | 131kb | Time limit exceeded | 0 |
19 | 153ms | 131kb | Time limit exceeded | 0 |
20 | 153ms | 131kb | Time limit exceeded | 0 |
Punctaj total | 70 |