Pagini recente » Borderou de evaluare (job #2353724) | Borderou de evaluare (job #2906727) | Borderou de evaluare (job #964848) | Borderou de evaluare (job #2674005) | Borderou de evaluare (job #1498626)
Borderou de evaluare (job #1498626)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d\n", &N, &M);
^
user.cpp:74:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:72:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(in, "r", stdin);
^
user.cpp:73:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(out, "w", stdout);
^
user.cpp:74:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp: In function ‘void Init()’:
user.cpp:101:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:99:5: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(register short i = 1; i <= N; ++ i, scanf("%c", &ch))
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 288kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 292kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 284kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |