Pagini recente » Borderou de evaluare (job #1723267) | Borderou de evaluare (job #1159142) | Borderou de evaluare (job #730187) | Borderou de evaluare (job #771545) | Borderou de evaluare (job #2247809)
Borderou de evaluare (job #2247809)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Ok(std::vector<int>)’:
user.cpp:16:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++)
~~^~~~~~~~~~
user.cpp:17:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j = i + 1; j < v.size(); j++)
~~^~~~~~~~~~
user.cpp:21:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int k = 0; k < v.size(); k++)
~~^~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:35:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bigfour.in", "r", stdin);
^
user.cpp:36:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bigfour.out", "w", stdout);
^
user.cpp:38:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:41:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &d, &x, &y, &z, &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 1380kb | OK | 100 |
Punctaj total | 100 |