Pagini recente » Borderou de evaluare (job #1851521) | Borderou de evaluare (job #78824) | Borderou de evaluare (job #2472246) | Borderou de evaluare (job #509984) | Borderou de evaluare (job #2602435)
Borderou de evaluare (job #2602435)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:43:33: 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",ans.size());
^
main.cpp:44:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ans.size();i++)
~^~~~~~~~~~~
main.cpp:29:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&n,&k);
^
main.cpp:32:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d",&x);
^
main.cpp:37:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 2621kb | OK | 10 |
2 | 12ms | 2605kb | OK | 10 |
3 | 8ms | 2621kb | OK | 10 |
4 | 11ms | 2752kb | OK | 10 |
5 | 11ms | 2752kb | OK | 10 |
6 | 11ms | 2752kb | OK | 10 |
7 | 178ms | 6553kb | OK | 10 |
8 | 175ms | 6553kb | OK | 10 |
9 | 152ms | 6291kb | OK | 10 |
10 | 149ms | 6160kb | OK | 10 |
Punctaj total | 100 |