Pagini recente » Borderou de evaluare (job #2903447) | Borderou de evaluare (job #1564817) | Borderou de evaluare (job #466358) | Cod sursa (job #396245) | Borderou de evaluare (job #1718324)
Borderou de evaluare (job #1718324)
Raport evaluator
Compilare:
user.cpp: In function ‘int combine(int, int)’:
user.cpp:51:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < P[b].size(); i++)
^
user.cpp: In function ‘std::vector<double> prod(const std::vector<double>&, const std::vector<double>&)’:
user.cpp:66:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ans.size(); i++) ans[i] = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:112:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < ini.size(); i++)
^
user.cpp:100:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hprob.in","r",stdin);
^
user.cpp:101:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hprob.out","w",stdout);
^
user.cpp:107:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:109:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lf%lf%lf", &n, &p1, &p2, &p3);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 480kb | OK | 10 |
2 | 4ms | 484kb | OK | 10 |
3 | 12ms | 492kb | OK | 10 |
4 | 12ms | 484kb | OK | 10 |
5 | 0ms | 488kb | OK | 10 |
6 | 4ms | 492kb | OK | 10 |
7 | 8ms | 488kb | OK | 10 |
8 | 4ms | 488kb | OK | 10 |
9 | 12ms | 492kb | OK | 10 |
10 | 12ms | 484kb | OK | 10 |
Punctaj total | 100 |