Pagini recente » Borderou de evaluare (job #1362131) | Borderou de evaluare (job #1394838) | Borderou de evaluare (job #1408363) | Borderou de evaluare (job #1394839) | Borderou de evaluare (job #2244842)
Borderou de evaluare (job #2244842)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(int, int)’:
user.cpp:13:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(poz<arb.size())
~~~^~~~~~~~~~~
user.cpp: In function ‘int Search(int)’:
user.cpp:42:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (step = 1; step < arb.size()-1; step = step * 2);
~~~~~^~~~~~~~~~~~~~
user.cpp:45:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i + step <= arb.size()-1)
~~~~~~~~~^~~~~~~~~~~~~~~
user.cpp: In function ‘int main()’:
user.cpp:63:18: warning: unused variable ‘j’ [-Wunused-variable]
int n, m, i, j, x, y;
^
user.cpp:60:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.in", "r", stdin);
^
user.cpp:61:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("aib.out", "w", stdout);
^
user.cpp:65:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
user.cpp:70:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:76:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:79:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:84:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
user.cpp:89:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 832kb | OK | 10 |
| 2 | 0ms | 836kb | OK | 10 |
| 3 | 8ms | 856kb | OK | 10 |
| 4 | 40ms | 936kb | OK | 10 |
| 5 | 80ms | 836kb | OK | 10 |
| 6 | 120ms | 988kb | OK | 10 |
| 7 | 136ms | 988kb | OK | 10 |
| 8 | 180ms | 992kb | OK | 10 |
| 9 | 188ms | 988kb | OK | 10 |
| 10 | 180ms | 992kb | OK | 10 |
| Punctaj total | 100 |