Pagini recente » Borderou de evaluare (job #1005803) | Borderou de evaluare (job #2368700) | Borderou de evaluare (job #1800704) | Borderou de evaluare (job #178296) | Borderou de evaluare (job #1226499)
Borderou de evaluare (job #1226499)
Raport evaluator
Compilare:
user.cpp: In function ‘int cb(int)’:
user.cpp:19:25: warning: unused variable ‘med’ [-Wunused-variable]
int st = 1, dr = n, med;
^
user.cpp: In function ‘int main()’:
user.cpp:46:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); ++i){
^
user.cpp:36:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("marbles.in", "r", stdin);
^
user.cpp:37:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("marbles.out", "w", stdout);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:41:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &a, &b);
^
user.cpp:58:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &Tip, &a, &b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 564kb | OK | 10 |
5 | 8ms | 1924kb | OK | 10 |
6 | 28ms | 764kb | OK | 10 |
7 | 48ms | 660kb | OK | 10 |
8 | 96ms | 2196kb | OK | 10 |
9 | 120ms | 4028kb | Incorect | 0 |
10 | 160ms | 5636kb | OK | 10 |
Punctaj total | 90 |