Pagini recente » Borderou de evaluare (job #387619) | Borderou de evaluare (job #1132021) | Borderou de evaluare (job #864211) | Borderou de evaluare (job #1321776) | Borderou de evaluare (job #1791289)
Borderou de evaluare (job #1791289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i <= n; i++)
^
user.cpp:15:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= n; i++)
^
user.cpp:16:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = i + 1; j <= n; j++)
^
user.cpp:18:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int l = 1; l < n; l++)
^
user.cpp:19:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1, j = l + 1; i <= n - 1 && j <= n; i++, j++)
^
user.cpp:19:54: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1, j = l + 1; i <= n - 1 && j <= n; i++, j++)
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in", "r", stdin );
^
user.cpp:11:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out", "w", stdout);
^
user.cpp:12:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &n);
^
user.cpp:14:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu", &d[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 448kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 516kb | OK | 10 |
4 | 0ms | 588kb | OK | 10 |
5 | 0ms | 636kb | OK | 10 |
6 | 0ms | 844kb | OK | 10 |
7 | 20ms | 1252kb | OK | 10 |
8 | 76ms | 1668kb | OK | 10 |
9 | 184ms | 2068kb | OK | 10 |
10 | 368ms | 2480kb | OK | 10 |
Punctaj total | 100 |