Pagini recente » Borderou de evaluare (job #385710) | Borderou de evaluare (job #232066) | Borderou de evaluare (job #3260214) | Borderou de evaluare (job #277269) | Borderou de evaluare (job #1476172)
Borderou de evaluare (job #1476172)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < dk.size(); i++)
^
user.cpp:35:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < dk.size() && x; i++)
^
user.cpp:43:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v.size(); i++)
^
user.cpp:14:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("popularitate.in", "r", stdin);
^
user.cpp:15:45: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("popularitate.out", "w", stdout);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &k, &m);
^
user.cpp:28:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:34: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 | 260kb | OK | 10 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 4ms | 264kb | OK | 10 |
| 4 | 8ms | 268kb | OK | 10 |
| 5 | 0ms | 268kb | OK | 10 |
| 6 | 16ms | 264kb | OK | 10 |
| 7 | 44ms | 264kb | OK | 10 |
| 8 | 68ms | 264kb | OK | 10 |
| 9 | 36ms | 260kb | OK | 10 |
| 10 | 68ms | 268kb | OK | 10 |
| Punctaj total | 100 |