Pagini recente » Borderou de evaluare (job #128689) | Borderou de evaluare (job #1789461) | Borderou de evaluare (job #3248965) | Borderou de evaluare (job #1408450) | Borderou de evaluare (job #1407196)
Borderou de evaluare (job #1407196)
Raport evaluator
Compilare:
user.cpp: In function ‘void sol()’:
user.cpp:76:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:79:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(pa); pp = 0;
^
user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:92:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &aa);
^
user.cpp: In function ‘int main()’:
user.cpp:108:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in", "r", stdin);
^
user.cpp:109:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out", "w", stdout);
^
/tmp/cccOxcIf.o: In function `sol()':
user.cpp:(.text+0x3f8): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1684ms | 18428kb | OK | 100 |
Punctaj total | 100 |