Pagini recente » Borderou de evaluare (job #1375961) | Borderou de evaluare (job #1278566) | Borderou de evaluare (job #464904) | Borderou de evaluare (job #271602) | Borderou de evaluare (job #2103235)
Borderou de evaluare (job #2103235)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:84:29: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(v, 0, sizeof v);
^
user.cpp:95:33: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]
memset(v, 0, sizeof v);
^
user.cpp: In function ‘bool check(nod*, char*)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:70:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.in", "r", stdin);
^
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mcript.out", "w", stdout);
^
user.cpp:73:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
R("%d", &n);
^
user.cpp:79:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
R("%d", &m);
^
user.cpp:85:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", v);
^
user.cpp:88:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
R("%d", &k);
^
user.cpp:91:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
R("%d", &nrcuv);
^
user.cpp:96:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", v);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 476kb | Incorect | 0 |
3 | 4ms | 884kb | Incorect | 0 |
4 | 12ms | 2952kb | Incorect | 0 |
5 | 36ms | 6676kb | Incorect | 0 |
6 | 60ms | 10368kb | Incorect | 0 |
7 | 104ms | 18348kb | Incorect | 0 |
8 | 344ms | 50392kb | Incorect | 0 |
9 | 384ms | Depăşit | Memory limit exceeded. | 0 |
10 | 380ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 10 |