Pagini recente » Borderou de evaluare (job #1694749) | Borderou de evaluare (job #2747053) | Borderou de evaluare (job #2947413) | Borderou de evaluare (job #2887588) | Borderou de evaluare (job #1281329)
Borderou de evaluare (job #1281329)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:58: warning: unused variable ‘length’ [-Wunused-variable]
unsigned soldiers, numberOfSoldiers = 0,sold[maxLength],length,k;
^
user.cpp:28:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluton.in", "r",stdin);
^
user.cpp:29:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pluton.out", "w",stdout);
^
user.cpp:30:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &n);
^
user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u", &plutons[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 312kb | Ok! | 10 | 0 |
2 | 0ms | 320kb | Numar incorect de plutoane! | 0 |
3 | 0ms | 276kb | Ok! | 10 |
4 | 0ms | 288kb | Ok! | 10 |
5 | 0ms | 488kb | Ok! | 10 |
6 | 4ms | 336kb | Numar incorect de plutoane! | 0 | 0 |
7 | 12ms | 392kb | Numar incorect de plutoane! | 0 |
8 | 16ms | 416kb | Numar incorect de plutoane! | 0 |
9 | 8ms | 456kb | Ok! | 10 |
10 | 0ms | 276kb | Numar incorect de plutoane! | 0 |
Punctaj total | 0 |