Pagini recente » Borderou de evaluare (job #1187472) | Borderou de evaluare (job #1931880) | Borderou de evaluare (job #19744) | Borderou de evaluare (job #238562) | Borderou de evaluare (job #1878079)
Borderou de evaluare (job #1878079)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[poz] = NULL;
^
user.cpp:48:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[poz] = NULL;
^
user.cpp:57:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[poz] = NULL;
^
user.cpp:66:32: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[poz] = NULL;
^
user.cpp:18:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in", "r", stdin);
^
user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out", "w", stdout);
^
user.cpp:21:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(expr);
^
user.cpp:74:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:75:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(expr);
^
user.cpp: In function ‘int VAR()’:
user.cpp:135:12: warning: ‘rez’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return rez;
^
/tmp/ccFmsPCo.o: In function `main':
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 10 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 276kb | OK | 10 |
6 | 0ms | 272kb | OK | 10 |
7 | 0ms | 268kb | OK | 10 |
8 | 0ms | 276kb | OK | 10 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 272kb | OK | 10 |
Punctaj total | 100 |