Pagini recente » Borderou de evaluare (job #3191987) | Borderou de evaluare (job #195933) | Borderou de evaluare (job #11260) | Borderou de evaluare (job #1632326) | Borderou de evaluare (job #2415358)
Borderou de evaluare (job #2415358)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:44:42: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<std::pair<int, int> >::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",ans1.size()+ans2.size());
^
main.cpp:45:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ans1.size();i++) printf("%d %d\n",ans1[i].first,ans1[i].second);
~^~~~~~~~~~~~
main.cpp: In function 'void solve(int)':
main.cpp:16:36: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&st[i],&dr[i]);
^
main.cpp: In function 'int main()':
main.cpp:39:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii2.in","r",stdin);
^
main.cpp:40:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("rotatii2.out","w",stdout);
^
main.cpp:41:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp: In function 'void solve(int)':
main.cpp:19:9: warning: 'rad' may be used uninitialized in this function [-Wmaybe-uninitialized]
int rad;
^~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 22ms | 9175kb | OK | 10 |
2 | 24ms | 9175kb | OK | 10 |
3 | 25ms | 9175kb | OK | 10 |
4 | 26ms | 9175kb | OK | 10 |
5 | 26ms | 9175kb | OK | 10 |
6 | 1046ms | 26062kb | OK | 10 |
7 | 1291ms | 29466kb | OK | 10 |
8 | 1558ms | 39690kb | OK | 10 |
9 | 1729ms | 43098kb | OK | 10 |
10 | 2118ms | 42983kb | OK | 10 |
Punctaj total | 100 |