Pagini recente » Borderou de evaluare (job #530934) | Borderou de evaluare (job #2535066) | Borderou de evaluare (job #2645156) | Borderou de evaluare (job #2918365) | Borderou de evaluare (job #2616333)
Borderou de evaluare (job #2616333)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < v.size(); i++) {
~~^~~~~~~~~~
main.cpp:17:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ttg.in", "r", stdin);
^
main.cpp:18:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ttg.out", "w", stdout);
^
main.cpp:19:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d", &n, &m);
^
main.cpp:21:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &nr);
^
main.cpp:24:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
main.cpp:30:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &x);
^
main.cpp:40:19: warning: 'dr' may be used uninitialized in this function [-Wmaybe-uninitialized]
ans[v[i].p] = dr;
~~~~~~~~~~~~^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 215ms | 4808kb | OK | 10 |
2 | 201ms | 4571kb | OK | 10 |
3 | 131ms | 3260kb | OK | 10 |
4 | 133ms | 3260kb | OK | 10 |
5 | 194ms | 4440kb | OK | 10 |
6 | 184ms | 4440kb | OK | 10 |
7 | 100ms | 2347kb | OK | 10 |
8 | 81ms | 2347kb | OK | 10 |
9 | 201ms | 4829kb | OK | 10 |
10 | 225ms | 4829kb | OK | 10 |
Punctaj total | 100 |