Pagini recente » Borderou de evaluare (job #1492731) | Borderou de evaluare (job #2735470) | Borderou de evaluare (job #2308552) | Borderou de evaluare (job #455154) | Borderou de evaluare (job #2075005)
Borderou de evaluare (job #2075005)
Raport evaluator
Compilare:
user.cpp: In function ‘int tip01(int, int, int)’:
user.cpp:8:14: warning: left operand of comma operator has no effect [-Wunused-value]
for(l, i=0;l;l>>=1)
^
user.cpp: In function ‘int tip2(int, int)’:
user.cpp:19:14: warning: left operand of comma operator has no effect [-Wunused-value]
for(l, i=n;l;l>>=1)
^
user.cpp: In function ‘int main()’:
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.in","r", stdin);
^
user.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cautbin.out", "w", stdout);
^
user.cpp:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:30:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:31:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:35:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m);
^
user.cpp:38:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &tip, &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 276kb | OK | 10 | 10 |
2 | 0ms | 280kb | OK | 10 | 10 |
3 | 0ms | 280kb | OK | 10 | 10 |
4 | 4ms | 280kb | OK | 10 | 10 |
5 | 24ms | 320kb | OK | 10 | 20 |
6 | 76ms | 472kb | OK | 10 |
7 | 116ms | 664kb | OK | 10 | 40 |
8 | 120ms | 664kb | OK | 10 |
9 | 124ms | 664kb | OK | 10 |
10 | 128ms | 668kb | OK | 10 |
Punctaj total | 100 |