Pagini recente » Borderou de evaluare (job #2681030) | Borderou de evaluare (job #464193) | Borderou de evaluare (job #2279701) | Borderou de evaluare (job #1140830) | Borderou de evaluare (job #1472992)
Borderou de evaluare (job #1472992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:101:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri2.in","r",stdin);
^
user.cpp:102:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("puteri2.out","w",stdout);
^
user.cpp:109:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &T); T ; --T)
^
user.cpp:111:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir + 1); int lenght = strlen(sir + 1);
^
user.cpp:112:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &P);
^
/tmp/ccYscpnG.o: In function `main':
user.cpp:(.text.startup+0xc8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 5328ms | 480kb | OK | 50 | 0 |
2 | 1360ms | 564kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |