Pagini recente » Borderou de evaluare (job #3039928) | Borderou de evaluare (job #2879949) | Borderou de evaluare (job #336632) | Borderou de evaluare (job #2587738) | Borderou de evaluare (job #1447607)
Borderou de evaluare (job #1447607)
Raport evaluator
Compilare:
user.cpp: In function ‘std::vector<str> divide(int, int, int)’:
user.cpp:52:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(x<q1.size() && q1[x].x<i/2) x++;
^
user.cpp:56:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<q1.size() || j<q2.size())
^
user.cpp:56:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(i<q1.size() || j<q2.size())
^
user.cpp:58:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(j==q2.size()) q.push_back(q1[i++]);
^
user.cpp:59:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else if(i==q1.size()) q.push_back(q2[j++]);
^
user.cpp: In function ‘int main()’:
user.cpp:110:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.in", "r", stdin);
^
user.cpp:111:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easyvect.out", "w", stdout);
^
user.cpp:113:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(scanf("%d",&t);t;t--)
^
user.cpp:116:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:119:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:126:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 348kb | Incorect | 0 | 0 |
2 | Depăşit | 5360kb | Time limit exceeded. | 0 |
3 | 20ms | 336kb | OK | 25 |
4 | 1000ms | 5360kb | OK | 25 |
Punctaj total | 0 |