Pagini recente » Borderou de evaluare (job #256497) | Borderou de evaluare (job #524933) | Borderou de evaluare (job #1368238) | Borderou de evaluare (job #2324117) | Borderou de evaluare (job #1838736)
Borderou de evaluare (job #1838736)
Raport evaluator
Compilare:
user.cpp: In function ‘void Solver()’:
user.cpp:6:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= sum ; ++i)
^
user.cpp: In function ‘void back(int)’:
user.cpp:11:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(k == n + 1){
^
user.cpp:16:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = x; i <= sum ; ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 1; i <= n ; ++i)
^
user.cpp:25:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.in", "r", stdin);
^
user.cpp:26:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("monezi.out", "w", stdout);
^
user.cpp:27:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &sum);
^
user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 292ms | 268kb | OK | 10 |
2 | 324ms | 268kb | OK | 10 |
3 | 312ms | 272kb | OK | 10 |
4 | 324ms | 276kb | OK | 10 |
5 | 0ms | 272kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 276kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 272kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 100 |