Pagini recente » Borderou de evaluare (job #2472857) | Borderou de evaluare (job #2278892) | Borderou de evaluare (job #1493468) | Borderou de evaluare (job #957195) | Borderou de evaluare (job #1855962)
Borderou de evaluare (job #1855962)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.in","r",stdin);
^
user.cpp:11:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori.out","w",stdout);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd %hd\n",&n,&m);
^
user.cpp:16:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:27:37: warning: ‘tip’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else tip=tip*10+s[j]-'0';
^
/tmp/ccGy63hY.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | Incorect | 0 | 0 |
2 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 232kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 236kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |