Pagini recente » Borderou de evaluare (job #2293369) | Borderou de evaluare (job #1262002) | Borderou de evaluare (job #3239447) | Borderou de evaluare (job #3235350) | Borderou de evaluare (job #2209838)
Borderou de evaluare (job #2209838)
Raport evaluator
Compilare:
user.cpp: In function ‘void play()’:
user.cpp:35:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < played.size() - 1; ++i) {
~~^~~~~~~~~~~~~~~~~~~
user.cpp:43:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (played.size() > i) {
~~~~~~~~~~~~~~^~~
user.cpp: In function ‘int main()’:
user.cpp:62:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc6.in", "r", stdin);
^
user.cpp:63:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("joc6.out", "w", stdout);
^
user.cpp:65:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:69:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:78:18: 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 | 836kb | OK | 10 |
2 | 0ms | 872kb | OK | 10 |
3 | 0ms | 880kb | OK | 10 |
4 | 0ms | 836kb | OK | 10 |
5 | 0ms | 868kb | OK | 10 |
6 | 0ms | 836kb | OK | 10 |
7 | 0ms | 872kb | OK | 10 |
8 | 0ms | 832kb | OK | 10 |
9 | 0ms | 836kb | OK | 10 |
10 | 0ms | 880kb | OK | 10 |
Punctaj total | 100 |