Pagini recente » Borderou de evaluare (job #73406) | Borderou de evaluare (job #2160736) | Borderou de evaluare (job #3182479) | Borderou de evaluare (job #939805) | Borderou de evaluare (job #1924770)
Borderou de evaluare (job #1924770)
Raport evaluator
Compilare:
user.cpp: In function ‘int getNr(char*)’:
user.cpp:12:18: warning: NULL used in arithmetic [-Wpointer-arith]
while (*s != NULL) {
^
user.cpp: In function ‘int main()’:
user.cpp:45:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("readunare.in", "r", stdin);
^
user.cpp:46:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("readunare.out", "w", stdout);
^
user.cpp:47:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s", a, b);
^
 | Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
✓ | 1 | 0ms | 424kb | Incorect | 0 |
✓ | 2 | 0ms | 432kb | Incorect | 0 |
✓ | 3 | 0ms | 424kb | Incorect | 0 |
✓ | 4 | 0ms | 432kb | Incorect | 0 |
✓ | 5 | 0ms | 428kb | Incorect | 0 |
✓ | 6 | 0ms | 424kb | Incorect | 0 |
✓ | 7 | 0ms | 428kb | Incorect | 0 |
✓ | 8 | 0ms | 428kb | Incorect | 0 |
✓ | 9 | 0ms | 436kb | Incorect | 0 |
✓ | 10 | 0ms | 432kb | OK | 10 |
Punctaj total | 10 |