Pagini recente » Borderou de evaluare (job #710245) | Borderou de evaluare (job #1985681) | Borderou de evaluare (job #439262) | Borderou de evaluare (job #3145515) | Borderou de evaluare (job #1985674)
Borderou de evaluare (job #1985674)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:29:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < strlen(c); ++i)
^
user.cpp:12: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:13: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:14:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:28:29: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(c, MAX, stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 320kb | Time limit exceeded. | 0 |
Punctaj total | 0 |