Pagini recente » Borderou de evaluare (job #1356879) | Borderou de evaluare (job #48892) | Borderou de evaluare (job #2917953) | Borderou de evaluare (job #1926921) | Borderou de evaluare (job #1574471)
Borderou de evaluare (job #1574471)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:38: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n",((S/9)+1)*9-S);
^
user.cpp:7:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifralipsa.in","r", stdin);
^
user.cpp:8:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cifralipsa.out","w", stdout);
^
user.cpp:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t); gets(s);
^
user.cpp:9:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t); gets(s);
^
user.cpp:11:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s); S = 0;
^
/tmp/ccrRLo6x.o: In function `main':
user.cpp:(.text.startup+0x6a): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 340kb | Time limit exceeded. | 0 |
2 | Depăşit | 312kb | Time limit exceeded. | 0 |
3 | Depăşit | 340kb | Time limit exceeded. | 0 |
4 | Depăşit | 332kb | Time limit exceeded. | 0 |
5 | Depăşit | 312kb | Time limit exceeded. | 0 |
6 | Depăşit | 324kb | Time limit exceeded. | 0 |
7 | Depăşit | 340kb | Time limit exceeded. | 0 |
8 | Depăşit | 384kb | Time limit exceeded. | 0 |
9 | Depăşit | 336kb | Time limit exceeded. | 0 |
10 | Depăşit | 352kb | Time limit exceeded. | 0 |
Punctaj total | 0 |