Pagini recente » Borderou de evaluare (job #2831602) | Borderou de evaluare (job #2212117) | Borderou de evaluare (job #1440766) | Borderou de evaluare (job #60635) | Borderou de evaluare (job #1440937)
Borderou de evaluare (job #1440937)
Raport evaluator
Compilare:
user.cpp: In function ‘void Adun(int*, int*)’:
user.cpp:49:15: warning: unused variable ‘i’ [-Wunused-variable]
int t = 0,i;
^
user.cpp: In function ‘int main()’:
user.cpp:80: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:81: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:82:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:85:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:96:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
/tmp/ccU0nkPL.o: In function `main':
user.cpp:(.text.startup+0x12b): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 5736kb | Time limit exceeded. | 0 |
Punctaj total | 0 |