Pagini recente » Borderou de evaluare (job #2238688) | Borderou de evaluare (job #1618000) | Borderou de evaluare (job #1924876) | Borderou de evaluare (job #1561557) | Borderou de evaluare (job #1518967)
Borderou de evaluare (job #1518967)
Raport evaluator
Compilare:
user.cpp: In function ‘int get_last_digit(int, int)’:
user.cpp:11:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(num == 4 || num == 9)
^
user.cpp: In function ‘int main()’:
user.cpp:34:9: warning: unused variable ‘p’ [-Wunused-variable]
int p;
^
user.cpp:30:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.in", "r", stdin);
^
user.cpp:31:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifra.out", "w", stdout);
^
user.cpp:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK! | 10 |
2 | 0ms | 268kb | OK! | 10 |
3 | 0ms | 264kb | OK! | 10 |
4 | 0ms | 264kb | OK! | 10 |
5 | 0ms | 272kb | OK! | 10 |
6 | 0ms | 268kb | OK! | 10 |
7 | 0ms | 268kb | OK! | 10 |
8 | 4ms | 264kb | OK! | 10 |
9 | 8ms | 268kb | OK! | 10 |
10 | 20ms | 272kb | OK! | 10 |
Punctaj total | 100 |