Pagini recente » Borderou de evaluare (job #45399) | Borderou de evaluare (job #2861055) | Borderou de evaluare (job #2065515) | Borderou de evaluare (job #2590590) | Borderou de evaluare (job #1802108)
Borderou de evaluare (job #1802108)
Raport evaluator
Compilare:
user.cpp: In function ‘void back(unsigned int, unsigned int)’:
user.cpp:9:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(a[i] > lim / pr) return ;
^
user.cpp:18:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(p == k){
^
user.cpp: In function ‘int main()’:
user.cpp:42:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.in", "r", stdin);
^
user.cpp:43:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numar2.out", "w", stdout);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:46: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 | 0ms | 276kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 0ms | 304kb | OK | 10 |
6 | 0ms | 288kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 312kb | OK | 10 |
9 | 0ms | 304kb | OK | 10 |
10 | 0ms | 300kb | OK | 10 |
Punctaj total | 100 |