Pagini recente » Borderou de evaluare (job #751346) | Borderou de evaluare (job #268808) | Borderou de evaluare (job #827669) | Borderou de evaluare (job #412138) | Borderou de evaluare (job #2222901)
Borderou de evaluare (job #2222901)
Raport evaluator
Compilare:
user.cpp: In function ‘void loop(std::vector<int>, int)’:
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < elements.size(); ++i)
~~^~~~~~~~~~~~~~~~~
user.cpp:24:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < elements.size(); ++j)
~~^~~~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:33:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in", "r", stdin);
^
user.cpp:34:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.out", "w", stdout);
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1312kb | OK | 20 |
2 | 0ms | 1316kb | OK | 20 |
3 | 0ms | 1320kb | OK | 20 |
4 | 12ms | 1312kb | OK | 20 |
5 | 92ms | 1312kb | OK | 20 |
Punctaj total | 100 |