Pagini recente » Borderou de evaluare (job #2271830) | Borderou de evaluare (job #835004) | Borderou de evaluare (job #408795) | Borderou de evaluare (job #643798) | Borderou de evaluare (job #1533769)
Borderou de evaluare (job #1533769)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:49:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hotel.in", "r", stdin);
^
user.cpp:50:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &p);
^
user.cpp: In function ‘void write()’:
user.cpp:56:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hotel.out", "w", stdout);
^
user.cpp:59:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:64:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 524kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 452kb | OK | 10 |
3 | 4ms | 540kb | OK | 10 |
4 | 84ms | 824kb | OK | 10 |
5 | 160ms | 820kb | OK | 10 |
6 | 72ms | 440kb | OK | 10 |
7 | 0ms | 468kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 336ms | 828kb | OK | 10 |
9 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 460kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 60 |