Pagini recente » Borderou de evaluare (job #1817866) | Borderou de evaluare (job #2170033) | Borderou de evaluare (job #2695981) | Borderou de evaluare (job #2000713) | Borderou de evaluare (job #1898164)
Borderou de evaluare (job #1898164)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.in", "r", stdin);
^
user.cpp:73:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("largestroot.out", "w", stdout);
^
user.cpp:75:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i", &t);
^
user.cpp:79:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%*c", &n);
^
user.cpp:84:32: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(b, 90, stdin);
^
user.cpp: In function ‘void add(int*, int*, int*)’:
user.cpp:46:25: warning: ‘t’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (t) e[++e[0]] = t;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 712kb | Incorect | 0 |
Punctaj total | 0 |