Pagini recente » Borderou de evaluare (job #2640747) | Borderou de evaluare (job #2589672) | Borderou de evaluare (job #1251574) | Borderou de evaluare (job #397609) | Borderou de evaluare (job #1338208)
Borderou de evaluare (job #1338208)
Raport evaluator
Compilare:
user.cpp: In function ‘int getInt(int&)’:
user.cpp:24:34: warning: NULL used in arithmetic [-Wpointer-arith]
while(digit(r[p]) && r[p] != NULL) {
^
user.cpp: In function ‘int main()’:
user.cpp:53:19: warning: NULL used in arithmetic [-Wpointer-arith]
while(r[i] != NULL) {
^
user.cpp:69:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i = 0; i < sol.size(); ++ i)
^
user.cpp:46:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.in", "r", stdin);
^
user.cpp:47:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("reteta2.out", "w", stdout);
^
user.cpp:50:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(r);
^
/tmp/ccQ0MuGH.o: In function `main':
user.cpp:(.text.startup+0x5c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 0ms | 276kb | OK! | 10 |
4 | 0ms | 272kb | OK! | 10 |
5 | 0ms | 268kb | OK! | 10 |
6 | 0ms | 280kb | OK! | 10 |
7 | 0ms | 272kb | OK! | 10 |
8 | 0ms | 280kb | OK! | 10 |
9 | 0ms | 280kb | OK! | 10 |
10 | 0ms | 276kb | OK! | 10 |
Punctaj total | 100 |