Pagini recente » Borderou de evaluare (job #202662) | Borderou de evaluare (job #1619130) | Borderou de evaluare (job #968957) | Borderou de evaluare (job #1990932) | Borderou de evaluare (job #1985616)
Borderou de evaluare (job #1985616)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:40: warning: NULL used in arithmetic [-Wpointer-arith]
for (char *p = commands; *p != NULL; ++p) {
^
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fences.in", "r", stdin);
^
user.cpp:15:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("fences.out", "w", stdout);
^
user.cpp:17:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%*c", &tests);
^
user.cpp:19:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s%*c", commands);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 16ms | 460kb | OK | 100 |
Punctaj total | 100 |