Pagini recente » Cod sursa (job #48484) | Cod sursa (job #2270002) | Borderou de evaluare (job #1984000) | Borderou de evaluare (job #1549619) | Borderou de evaluare (job #1388011)
Borderou de evaluare (job #1388011)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0;i<newo.size()-1;++i){
^
user.cpp:37:44: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (newo[i] == newo[j] && j < newo.size()) ++j;
^
user.cpp:16:38: 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:17:40: 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:19:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
int nrp = 0; scanf ("%d",&n);
^
user.cpp:21:29: 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 |
Punctaj/grupa |
| 1 | 0ms | 276kb | Afisare gresita a soldatilor! | 7 | 0 |
| 2 | 0ms | 272kb | Afisare gresita a soldatilor! | 7 |
| 3 | 0ms | 268kb | Numar incorect de plutoane! | 0 |
| 4 | 0ms | 264kb | Numar incorect de plutoane! | 0 |
| 5 | 4ms | 296kb | Numar incorect de plutoane! | 0 |
| 6 | 0ms | 284kb | Afisare gresita a soldatilor! | 7 | 0 |
| 7 | 0ms | 300kb | Afisare gresita a soldatilor! | 7 |
| 8 | 0ms | 304kb | Numar incorect de plutoane! | 0 |
| 9 | 4ms | 304kb | Afisare gresita a soldatilor! | 7 |
| 10 | 0ms | 268kb | Afisare gresita a soldatilor! | 7 |
| Punctaj total | 0 |