Pagini recente » Borderou de evaluare (job #1885720) | Borderou de evaluare (job #1993768) | Borderou de evaluare (job #307085) | Borderou de evaluare (job #1287191) | Borderou de evaluare (job #1439980)
Borderou de evaluare (job #1439980)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n", sol);
^
user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.in", "r", stdin);
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parola.out", "w", stdout);
^
user.cpp:40:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:43:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:44:10: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cckRp7CQ.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1060ms | 9060kb | Incorect | 0 |
Punctaj total | 0 |