Pagini recente » Borderou de evaluare (job #483359) | Borderou de evaluare (job #890188) | Borderou de evaluare (job #359228) | Borderou de evaluare (job #1572139) | Borderou de evaluare (job #1281323)
Borderou de evaluare (job #1281323)
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 | 316kb | Ok! | 10 | 0 |
2 | 0ms | 312kb | Numar incorect de plutoane! | 0 |
3 | 0ms | 276kb | Ok! | 10 |
4 | 0ms | 276kb | Ok! | 10 |
5 | 0ms | 492kb | Ok! | 10 |
6 | 4ms | 336kb | Numar incorect de plutoane! | 0 | 0 |
7 | 12ms | 396kb | Numar incorect de plutoane! | 0 |
8 | 16ms | 412kb | Numar incorect de plutoane! | 0 |
9 | 8ms | 460kb | Ok! | 10 |
10 | 0ms | 280kb | Numar incorect de plutoane! | 0 |
Punctaj total | 0 |